由于网上资料实在有限,特此记录
The only values that can be set are:
- 0 - To set "User Must Change Password at Next Logon", set the pwdLastSet attribute to zero (0). This is as if the Pwd-Last-Set attribute=True - which is an implementation of Password MUST Change condition.
- -1 - setting the Pwd-Last-Set attribute attribute to -1 which will effectively set the Pwd-Last-Set attribute to the current time and remove the "User Must Change Password at Next Logon" restriction.
- The Pwd-Last-Set attribute attribute cannot be set to any other values except by the system.
原文地址:Ldapwiki: Pwd-Last-Set attribute
用代码试了,可以修改为0 表示下次登录必须修改密码。
但是不能修改为具体的某一个日期。
修改密码后系统会自动更新该值。
本文介绍了如何在LDAP中通过设置Pwd-Last-Set属性实现密码强制更改策略,并强调了该属性只能由系统设置,不能手动指定特定日期。了解如何操作这个关键属性以管理用户密码安全性。
3451

被折叠的 条评论
为什么被折叠?



