I have successfully configured my ldap server on Centos 5.3 referring to the link below.
http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
However I have added a test user on to my Ldap server using the below commands.
1. useradd test
2. passwd test
3. grep test /etc/passwd > /etc/openldap/passwd.test
4. /usr/share/openldap/migration/migrate_passwd.pl /etc/openldap/passwd.test /etc/openldap/test.ldif
5. ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f /etc/openldap/test.ldif
The ldif file of the test user looks like this
dc: uid=test, ou=People,dc=example,dc=com
uid: test
cn: test
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$2$1248Hon......... (some string)
shadowLastChange: 12345 (some number)
shadowMax: 999999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 520
gidNumber: 521
homeDirectory: /home/test
Could some body help me with this?