[horde] Horde Authentication over OpenLDAP

luiz at pucrs.br luiz at pucrs.br
Mon Jan 26 12:56:53 PST 2004


Hello

I´m trying to install the Horde in one Solaris 9 box running OpenLDAP and
Courier IMAP Server. In the google and list archives, I´ve found some docs
about to use the LDAP to store prefs of the Horde, but anything about
authentication using OpenLDAP. Is it possible to make it? When I try to log
in with one LDAP user, there are the following error:

"Required 'hostspec' not specified in authentication configuration."

My horde/test.php:
Horde Versions
Horde: 2.2.4
Turba: 1.2.1
PHP Version
View phpinfo() screen
PHP Version: 4.3.4
PHP Major Version: 4.3
PHP Minor Version: 4
PHP Version Classification: release
You are running a supported version of PHP.
PHP Module Capabilities
DOM XML Support: No
FTP Support: No
Gettext Support: Yes
IMAP Support: Yes
LDAP Support: Yes
MCAL Support: No
Mcrypt Support: Yes
MySQL Support: Yes
PostgreSQL Support: No
XML Support: Yes
Miscellaneous PHP Settings
magic_quotes_runtime disabled: Yes
file_uploads enabled: Yes
safe_mode disabled: Yes
trans_sid disabled: Yes
PHP Sessions
Session counter: 1
To unregister the session: click here
PEAR
PEAR - Yes
Recent PEAR - Yes
Mail - Yes
Log - Yes
DB - Yes
Net_Socket - Yes
Date - Yes
HTML_Common/HTML_Select - No
Horde requires the HTML_Common and HTML_Select classes only for Kronolith
1.0 to display forms correctly.

My horde/config/horde.php
<--snip-->
$conf['auth']['driver'] = 'ldap';
$conf['auth']['params'] = array();
<--snip-->
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = 'ldap.my.domain';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=my,dc=domain';
$conf['prefs']['params']['uid'] = 'mail';
<--snip-->

I think that I need to define 'hostspec' (and the other LDAP parameters) in
another part of horde.php or another file, but I don´t know where.
Can someone help me?

Thanks (a lot) in advance








More information about the horde mailing list