积极答复者
AD Sever 上未设定密码策略,现在开启密码过期策略后,用户下次登录电脑要改密码?

问题
答案
-
您好!
关于您的问题,根据我的研究,在用户的属性中我们可以看到pwdLastSet这个属性,它记录了用户密码最后一次更改的时间,并会以此为依据的判断用户密码是否过期。
Pwd-Last-Set attribute
https://msdn.microsoft.com/en-us/library/windows/desktop/ms679430(v=vs.85).aspx
如果您的环境中之前未曾配过密码策略,那么系统会根据密码策略所设置的时间去比较用户属性中的pwdLastSet,也就是两个值相减就能得出用户在多少天后需要修改密码。
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已标记为答案 AlvwanModerator 2016年3月7日 2:12
-
您好!
并不是从开启90天变更密码这个功能后开始算,而是根据pwdLastSet这个属性来计算的。
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已标记为答案 Jones-Chen 2016年3月16日 10:05
全部回复
-
您好!
关于您的问题,根据我的研究,在用户的属性中我们可以看到pwdLastSet这个属性,它记录了用户密码最后一次更改的时间,并会以此为依据的判断用户密码是否过期。
Pwd-Last-Set attribute
https://msdn.microsoft.com/en-us/library/windows/desktop/ms679430(v=vs.85).aspx
如果您的环境中之前未曾配过密码策略,那么系统会根据密码策略所设置的时间去比较用户属性中的pwdLastSet,也就是两个值相减就能得出用户在多少天后需要修改密码。
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已标记为答案 AlvwanModerator 2016年3月7日 2:12
-
您好!
并不是从开启90天变更密码这个功能后开始算,而是根据pwdLastSet这个属性来计算的。
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已标记为答案 Jones-Chen 2016年3月16日 10:05