Validate new AD password according to local security policy?

后端 未结 2 1793
南旧
南旧 2021-01-22 11:19

I would like to allow the current user to change their password (managed via active directory).

I would like to validate and then set their password in Active Directory

2条回答
  •  天命终不由人
    2021-01-22 11:43

    I found a way to diagnose the error in a bit more detail. It does not provided any feedback from AD, but we can perhaps create a mapping of the COM errors to a user friendly message.

    This article provides more information about handling the possible COM errors:

    http://www.ozkary.com/2015/03/active-directory-setpassword-or.html

    I think more detail can be added for these COM errors:

    0x800708c5 0x8007202f 0x8007052d 0x8007052f

提交回复
热议问题