[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ldap help ?




Hi,
I installed  sldap  2.4.18  on server  debian squeeze (here 172.19.6.150)
when Iuse the command
ldapsearch -xLLL -b "dc=example,dc=com" uid=john sn givenName cn
dn: uid=john,ou=people,dc=example,dc=com
sn: Doe
givenName: John
cn: John Doe

I get correct answer

I tried to do it from a remote machine  where ( ubuntu 9.10 )   (IP 172.19.6.50)
I installed package for authentication in this client machine
libnss-ldap
ldap-auth-config
I ran pam-auth-update


everything seemed correct like it is decalred in the document

http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html

I used ubuntu doc, because I have install 2.4.18 ( not present yet on squeeze),
on some machine it running correctly, on other not!!!??


I got the error : ( it is running on another machine : 172.19.6.50 )

ldapsearch -xLLL -b -H ldap://172.19.6.150 "dc=example,dc=com" uid=john sn givenName cn

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

in the same way , the authentication is not done ( john is created in ldap server)

su - john
identifier unknown  : john


I can do same from another machine running debian lenny. very strange I install same packages, that what I believe

any idea
thanks a lot


Reply to: