通过LDAP连接从Web服务器更改AD密码 [英] Change AD password from webserver by LDAP connection
问题描述
我需要为用户提供通过网络服务器更改密码的功能。密码由Active Directory维护,密码更改应由用户凭据完成,无需任何管理授权。
这对于常规密码很容易:
- 与用户绑定当前密码
- 更改密码然后
但是当密码过期或初始绑定失败时我什么都看不到可以做什么对这个。我看到的唯一解决方案是重置pwdLasSet - 属性 - 但这需要管理员权限。
直到IIS 6.0 Microsoft提供IISADMPWD功能才能执行密码更改,但目前我没有看到任何其他内容。
我希望我能说清楚:我需要
- 一个解决方案通过LDAPS连接自行更改密码
- 或者提示做什么
任何帮助表示感谢,
Ulrich
I'm in need to supply users with an ability to change their password via webserver. The password is maintained by Active Directory and the password change shall be done by the users credentials without any administrative authorizations.
This is easy for regular passwords:
- bind with users current password
- change the password then
But when the password is expired or initial the bind fails and I see nothing what can be done about this. The only solution I see is to reset the "pwdLasSet"-attribute - but this would require admistrator priviledges.
Until IIS 6.0 Microsoft offered a IISADMPWD-feature to do the password change, but currently I don't see nothing else.
I hope I could make clear: I need either
- a solution to do the password change via LDAPS connection by myself
- or a hint what to do else
Any help appreciated,
Ulrich
推荐答案
现已解决,不再需要帮助。
solved now, help no longer required.
这篇关于通过LDAP连接从Web服务器更改AD密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!