#50916 Issue 50912 - RFE - add password policy attribute pwdReset
Closed by spichugi. Opened by mreynolds.
mreynolds/389-ds-base issue50912  into  master

Download 50916.patch

Description:

Implement the Password Policy attribute "pwdReset" as described at:

https://tools.ietf.org/html/draft-behera-ldap-password-policy-10

relates: https://pagure.io/389-ds-base/issue/50912

Ack from me, this seems quite simple.

The patch looks good but I miss how this password policy is enforced ?
I would expect any operation except MOD(userPassword) to be rejected and possibly a controlResult being sent. Is it already enforced with passwordExpirationTime ?

The patch looks good but I miss how this password policy is enforced ?
I would expect any operation except MOD(userPassword) to be rejected and possibly a controlResult being sent. Is it already enforced with passwordExpirationTime ?

We already enforce this, this RFE was to add a new attribute to the entry. It's basically redundant as the code already checks for "NO_TIME" to enforce password must be reset. But to be compatible with other LDAP vendors/clients we need this new attribute that makes it very clear the user must reset their password.

@mreynolds thanks for the explanation. You have my ACK as well

rebased onto 7923698d9fee944871037fc87549842ad6d832d7

Pull-Request has been merged by mreynolds

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3969

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata