Hi,
After spending some time with LDAP, I finally managed the users in LDAP
database to be found by all programs, however I still have a problem
which is driving me crazy: Password authentification doesn't work,
meaning users can't login (I can use su - username, though), they can't
use POP to check mail, etc.
No idea why. A search for the user "cfernandez" returns this:
cibeles:/etc # ldapsearch -x -b "dc=consultia,dc=biz"
"(&(objectClass=posixAccount)(uid=cfernandez))" -D
"cn=Manager,dc=consultia,dc=biz" gidNumber homeDirectory loginShell
userPassword -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base with scope sub
# filter: (&(objectClass=posixAccount)(uid=cfernandez))
# requesting: gidNumber homeDirectory loginShell userPassword
#
# cfernandez, people, consultia.biz
dn: uid=cfernandez,ou=people,dc=consultia,dc=biz
gidNumber: 100
homeDirectory: /home/cfernandez
loginShell: /bin/bash
userPassword:: e2NyeXB0fUpKNkg3OW9SZ3RERVE=
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
This user password is "12345". The hash has nothing to do with crypt/md5...
I believe the password is just being encrypted with a different crypt or
something, but I can't find where to change that.
I tried in /etc/slap.conf but didn't help.
This seems like my final hurdle in having a working LDAP (I'll deal with
the security issues, etc once it's working).
Can anyone help? Thanks.