What is equivalent LDAP attributes for Active Directory
What is equivalent LDAP attributes for Active Directory
I am looking for password using Net::LDAP.
I dont know to how to set the user password using Net::LDA开发者_如何学PythonP
Here is a helpful article from Microsoft with some sample code that you might be able to adapt: https://support.microsoft.com/en-us/help/269190/how-to-change-a-windows-active-directory-and-lds-user-password-through
The essential attribute, it seems is: unicodePwd (a.k.a. Unicode-Pwd https://msdn.microsoft.com/en-us/library/ms680513(v=vs.85).aspx )
Also note some cautions and advice from this answer: https://serverfault.com/questions/423345/changing-active-directory-password-over-ldap-using-passwd-ldappasswd-samba
AD attribute names with cross reference of LDAP attribute names https://msdn.microsoft.com/en-us/library/ms675090(v=vs.85).aspx
精彩评论