Horde problem: Can't contact LDAP server

Vladislav Tchernev vladt at broadsign.com
Wed Mar 15 20:07:38 CET 2006


Hello,
I am running kolab 2.0.3 and was installed horde with no issues. Configuring 
and running horde however is driving me crazy. I have followed the guide on 
http://www.kolab.org/webclient.html but obviously I am missing something. The 
problem is that after setting up Kolab Group Ware, Authentication and System 
Preferences in the horde setup menu I am not able to log into horde. The 
error I am getting is:
<<  Failed to retrieve user's DN: [-1] Can't contact LDAP server >>

The user I am trying to log in is a working kolab user which I put in the 
Authentication horde menu. I checked the many times the
<< /kolab/var/kolab/www/horde/config/conf.php >> conf file and the openldap 
setting seems to me to be OK:


$conf['kolab']['ldap']['server'] = '127.0.0.1';
$conf['kolab']['ldap']['port'] = 389;
$conf['kolab']['ldap']['basedn'] = 'dc=kolablts,dc=ltsnetworks,dc=net';
$conf['kolab']['ldap']['binddn'] = 
'cn=manager,cn=internal,dc=kolablts,dc=ltsnetworks,dc=net';
$conf['kolab']['ldap']['bindpw'] = '*****';

my /kolab/etc/kolab/kolab.conf is as follow:

fqdnhostname : my2.ltsnetworks.net
is_master : true
base_dn : dc=kolablts,dc=ltsnetworks,dc=net
bind_dn : cn=manager,cn=internal,dc=kolablts,dc=ltsnetworks,dc=net
bind_pw : tarator
bind_pw_hash : {SSHA}1sfEn2h43r/US+V8i8XGipYKdGGnJ8bg
ldap_uri : ldap://127.0.0.1:389
ldap_master_uri : ldap://127.0.0.1:389
php_dn : cn=nobody,cn=internal,dc=kolablts,dc=ltsnetworks,dc=net
php_pw : 3tV9JJJhpDvLBF+wytmcHzACP8lTMlt00rqdLn/X
calendar_dn : cn=calendar,cn=internal,dc=kolablts,dc=ltsnetworks,dc=net
calendar_pw : JwI+SMD2uF6FP00oIZlWKeIPIrqed3yJ19Y7+ika


On any horde loggin attempt I can see from the logs that there is  an 
successfull imap login : 
my2.ltsnetworks.net [192.168.28.97] vladt at kolablts.ltsnetworks.net plaintext 
User logged in

but horde cant connect to ldap .... 

from apache log:

[error] PHP Warning:  ldap_search(): Search: Can't contact LDAP server 
in /kolab/lib/php/Horde/Prefs/ldap.php on line 212
[error] PHP Notice:  Failed to retrieve user's DN: [-1] Can't contact LDAP 
server in /kolab/lib/php/PEAR.php on line 842

and from horde log:

HORDE [error] [horde] FAILED LOGIN for vladt [192.168.28.141] to Horde [on 
line 115 of "/kolab/var/kolab/www/horde/login.php"]


I have a filling that I am missing something very stupid but cat find out 
what .. Could someone can help me with that .. any hints ... 

Best regards
Vlad




More information about the users mailing list