[horde] problem with smbclient auth

Jan Schneider jan at horde.org
Fri Dec 28 17:54:47 UTC 2012


Zitat von Uttiya Chowdhury <chowdhury_uttiya at yahoo.com>:

> Hello,
> I have git snapshot horde installed (H5). I am trying to  
> authenticate 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] =>

Create a bug ticket.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list