Can't contact LDAP server
Hello,
I've installed openldap in my debian2.2r4:
linux95:~# dpkg -l | grep openldap
ii libopenldap-ru 1.2.12.1-1 OpenLDAP runtime files for obsolete libopenl
ii libopenldap1 1.2.12.1-1 OpenLDAP libraries (obsoleted by libldap2).
ii openldap-utils 1.2.12-1 OpenLDAP utilities.
ii openldapd 1.2.12-1 OpenLDAP server (slapd).
linux95:~#
After modifying the /etc/openldap/slapd.conf then I tried to
ldapsearch like this:
linux95:~# ldapsearch -D "cn=admin,ou=People,dc=linux95,dc=ezplay.tv" -h 127.0.0.1 -W "(objectclass=*)"
Enter LDAP Password:
ldap_bind: Can't contact LDAP server
ldap_bind: additional info: Referral:
ldap://ldap.four11.com
linux95:~#
It complains can't contact LDAP server, but I am sure slapd is running:
linux95:~# ps aux | grep slapd
root 878 0.0 0.4 4436 1252 ? S 15:27 0:00 /usr/sbin/slapd
root 880 0.0 0.4 4436 1252 ? S 15:27 0:00 /usr/sbin/slapd
root 881 0.0 0.4 4436 1252 ? S 15:27 0:00 /usr/sbin/slapd
What could I have missed?
Thanks.
--
Patrick Hsieh--<pahud@pahud.net>
Reply to: