Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPA Allows Password Reuse with History value defined when admin reset… #211

Closed
wants to merge 1 commit into from
Closed

Conversation

tbordaz
Copy link
Contributor

@tbordaz tbordaz commented Nov 2, 2016

…s the password.

When admin reset a user password, history of user passwords is
preserved according to its policy.

https://fedorahosted.org/freeipa/ticket/6402


/* let set the entry password property according to its
* entry password policy
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the missed break statement is deliberate here. If yes it would be nice to have a comment clearly stating that the fallthrough is intentional.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for reviewing.
You are right the removal of the break is intentional in order to retrieve the user password policy (ipapwd_getPolicy) like this was done in case of password update by 'directory manager'.

I agree the fix should clearly state that fallthrough is intentional. Will change the fix.

@martbab
Copy link
Contributor

martbab commented Nov 2, 2016

Please address the comment in code.

…s the password.

When admin reset a user password, history of user passwords is
preserved according to its policy.

https://fedorahosted.org/freeipa/ticket/6402
Copy link
Contributor Author

@tbordaz tbordaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated comment

@martbab martbab added the ack Pull Request approved, can be merged label Nov 24, 2016
@martbab
Copy link
Contributor

martbab commented Nov 24, 2016

@martbab martbab added the pushed Pull Request has already been pushed label Nov 24, 2016
@martbab martbab closed this Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
2 participants