
January 31st, 2010, 12:11 AM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 10
Time spent in forums: 2 h 55 m 27 sec
Reputation Power: 0
|
|
|
LDAP : cant contact server
Hi
New with LDAP , I got it function on ubuntu 9.10 and can manage it with webmin. But do not know why I can't connect with the following :
Code:
ldapsearch -D "cn=admin,dc=example,dc=org" -b "dc=example,dc=org" -W
The answer is :
Code:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
the "-x" option give the same result..
Actually I can browse the database with webmin, but I can't add an access rule :
Code:
Failed to save access control rule : Cannot write to directory /etc/ldap/slapd.d
And still be able to add an user with the command line  :
Code:
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f pop.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 adding new entry "uid=testo,ou=people,dc=example,dc=org"
Can someone explain that?
Thanks
|