6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11926] problem with smbclient auth
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. . __.._..__. \ /| |(__ | | | \/ |/\|.__)_|_|__\
Comment
> 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] =>
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers