windows 什么是 Active Directory 的等效 LDAP 属性

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2959465/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:34:36  来源:igfitidea点击:

What is equivalent LDAP attributes for Active Directory

windowsperlactive-directoryldap

提问by Tree

What is equivalent LDAP attributes for Active Directory

什么是 Active Directory 的等效 LDAP 属性

I am looking for password using Net::LDAP.

我正在使用Net::LDAP寻找密码。

I dont know to how to set the user password using Net::LDAP

我不知道如何使用 Net::LDAP 设置用户密码

回答by Justin

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

这是来自 Microsoft 的有用文章,其中包含一些您可以改编的示例代码: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)

基本属性,似乎是: unicodePwd (又名 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

还要注意这个答案中的一些注意事项和建议:https: //serverfault.com/questions/423345/changed-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

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