[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems with simple LDAP authentication



Hi all,
problem solved, it was trivial, but very difficult to find. In the ldif file I used to load users there was a trailing space in the password field.
Thanks to all,
Giovanni


-----
You don't give the actual command that is failing

ldapsearch -x -h localhost \
-D "cn=sole,dc=progetto-sole,dc=it" \
-b "dc=progetto-sole,dc=it" \
-W '(cn=sole)'

or if you wanted write access...

ldapsearch -x -h localhost \
-D "cn=Manager,dc=progetto-sole,dc=it" \
-b "dc=progetto-sole,dc=it" \
-W '(cn=sole)'

Probably best to have a contain for 'users' - something like

ou=People,dc=progetto-sole,dc=it

and put users like sole in that container...

uid=sole,ou=People,dc=progetto-sole,dc=it

Craig





--

----------------------------------------
Giovanni Cuccu
Sw Engineer@dianoema.it
Dianoema S.p.A.
Via de' Carracci 93 40131 Bologna
Tel: 051-7098211   051-4193911
e-mail:gcuccu@dianoema.it
----------------------------------------
No man does it all by himself,
I said young man,
put your pride on the shelf
----------------------------------------