How to get password of active directory by ldap in php? -


i have problem password in active directory. want password "username" of user tried function "ldap_search", not find correctly attribute password tried as: password, userpassword, userpassword, unicodepwd, unicodepwd, not correct.

i forward helping of :d trankinhly

passwords in active directory not retrievable. nor in directories. (edirectory has password policy, if bind specified user, can retrieve passwords via ldap extensions)

some directories might let recover hashed versions, not great either.

to cross platform, better try , bind values provided , either succeed or fail. additionally, ldap says bind blank password anonymous bind, succeed, need filter case.

once bound user, @ group memberships (since can see own) or @ other attribute, if can read it, means have level of rights. (i.e. implement authorization authentication).


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -