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

前端 未结 3 485
温柔的废话
温柔的废话 2021-01-12 18:29

I have problem about password in Active Directory. I want to get password from \"username\" of user I tried function \"ldap_search\", but I do not find correctly attribute f

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-12 19:12

    AD does not store the password in plain text. The password hash is stored in unicodePwd. This attribute can be only retrieved using ldapi interface. The regular ldap_search will not return anything.

提交回复
热议问题