View crypted password in openldap
Hi when I give the below command i see
ldapsearch -x -b 'dc=example,dc=com' 'uid=user' # extended LDIF # # LDAPv3 # base <dc=example,dc=com> with scope subtree # filter: uid=user # requesting: ALL # # user, People, example.com dn: uid=user,ou=People,dc=example,dc=com cn: user 1 uid: user uidNumber: 1026 gidNumber: 100 objectClass: posixAccount objectClass: shadowAccount objectClass: person objectClass: inetOrgPerson gecos: user sn: user loginShell: /bin/bash homeDirectory: /home/user # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Is ther any way to see the password of that user? |
Quote:
|
This is not ethical and ldap do not allow you to view user passwords. As a ldap admin, you can see password in encrypted form only and in case if you want to recover some user's password, then better reset it.
|
The thing is am writing a php program for authentication of users for our database. I wanted to have ldap authorization for the database. I used annonymous bind and wanted to compare the password that the users type with that of ldap database using ldap search command. Maybe my approach is wrong?
|
Quote:
|
All times are GMT -5. The time now is 11:26 AM. |