2010-06-02 34 views
0

什麼是Active Directory的等效LDAP屬性什麼是Active Directory的等效LDAP屬性

我正在使用Net::LDAP查找密碼。

我不知道如何使用的Net :: LDAP

+0

我從來沒有用過的Net :: LDAP,但我已經與LDAP和AD創建帳戶工作,無法通過LDAP來設置或更改密碼只能通過其他方式(如使用命令,win32,wmi,powershell等) – Don 2010-06-04 16:40:34

回答

0

這裏設置用戶密碼是微軟一個有用的文章有一些示例代碼,你可能能夠適應:https://support.microsoft.com/en-us/help/269190/how-to-change-a-windows-active-directory-and-lds-user-password-through

的本質屬性,這似乎是:unicodePwd (又名Unicode的密碼 https://msdn.microsoft.com/en-us/library/ms680513(v=vs.85).aspx

還要注意從這個答案的一些注意事項和建議:https://serverfault.com/questions/423345/changing-active-directory-password-over-ldap-using-passwd-ldappasswd-samba

與LDAP的交叉引用AD屬性名屬性名 https://msdn.microsoft.com/en-us/library/ms675090(v=vs.85).aspx

相關問題