| Summary | problem with smbclient auth |
| Queue | Horde Base |
| Queue Version | Git develop |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | Jan Schneider <jan (at) horde (dot) org> |
| Requester | chowdhury_uttiya (at) yahoo (dot) com |
| Created | 12/31/2012 (140 days ago) |
| Due | |
| Updated | 01/15/2013 (125 days ago) |
| Assigned | |
| Resolved | 01/15/2013 (125 days ago) |
| Attachments | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
commit 6b865bb19001672800206ef884d37a2071e0fbb4
Author: Jan Schneider <jan@horde.org>
Date: Tue Jan 15 15:31:10 2013 +0100
[jan] Fix argument reading in Samba drivers (
Bug #11926).framework/Auth/lib/Horde/Auth/Smb.php | 4 +++-
framework/Auth/lib/Horde/Auth/Smbclient.php | 4 +++-
framework/Auth/package.xml | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/6b865bb19001672800206ef884d37a2071e0fbb4
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ problem with smbclient auth
Type ⇒ Bug
Priority ⇒ 2. Medium
using smbclient. SMB server and horde webserver are the same machine.
My conf.php for horde (auth part only) is as follows:
$conf['auth']['admins'] = array('Administrator');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['resetpassword'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'list';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['domain'] = 'ces';
$conf['auth']['params']['smbclient_path'] = '/usr/bin/smbclient';
$conf['auth']['driver'] = 'smbclient';
$conf['auth']['params']['count_bad_logins'] = false;
$conf['auth']['params']['login_block'] = false;
$conf['auth']['params']['login_block_count'] = 5;
$conf['auth']['params']['login_block_time'] = 5;
==================
But I get the following error when I try to go to the horde start
page. Any thoughts?
==================
A fatal error has occurred
Missing hostspec parameter.
1. Horde_Registry::appInit()
/mnt/ce/main/Open/0.Admin/admin/config/index.php:19
2. Horde_Registry->pushApp()
/mnt/ce/main/Open/0.Admin/libs/Horde/Registry.php:249
3. Horde_Registry->checkExistingAuth()
/mnt/ce/main/Open/0.Admin/libs/Horde/Registry.php:1489
4. Horde_Core_Factory_Auth->create()
/mnt/ce/main/Open/0.Admin/libs/Horde/Registry.php:2495
5. Horde_Core_Factory_Auth->_create()
/mnt/ce/main/Open/0.Admin/libs/Horde/Core/Factory/Auth.php:61
6. Horde_Auth::factory()
/mnt/ce/main/Open/0.Admin/libs/Horde/Core/Factory/Auth.php:197
7. Horde_Auth_Smbclient->__construct()
/mnt/ce/main/Open/0.Admin/libs/Horde/Auth.php:69
Details
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
InvalidArgumentException Object
(
[message:protected] => Missing hostspec parameter.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] =>
/mnt/ce/main/Open/0.Admin/libs/Horde/Auth/Smbclient.php
[line:protected] => 38
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /mnt/ce/main/Open/0.Admin/libs/Horde/Auth.php
[line] => 69
[function] => __construct
[class] => Horde_Auth_Smbclient
[type] => ->
[args] => Array
(
[0] => Array
(
[hostspec] => localhost
[domain] => ces
[smbclient_path] => /usr/bin/smbclient
[count_bad_logins] =>