I’m trying to authenticate againest an ldap server I’ve created. The user password is stored within ldap as sha hash. However when I try accessing the userPassword attribute it doesn’t exist. I have to login as the manager. Am assuming this isn’t a very good idea on a production server. is there a way around this?
I’m trying to authenticate againest an ldap server I’ve created. The user password is
Share
It does not make sense to return the password field. You may simply authenticate against the ldap server with given credentials.
see this example (reference here: http://php.net/manual/en/ref.ldap.php)