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

Add nsaccountlock to user attributes when a new user is created #521

Closed

Conversation

redhatrises
Copy link
Contributor

@redhatrises redhatrises commented Feb 28, 2017

This adds a the nsaccountlock attribute to a user upon account creation. This addresses newly created accounts; however, it does not address the issue of existing accounts. If nsaccountlock does not exist for a user, ipa user-find --disabled=False should return Accounts disabled: False; however, it returns nothing.

So, the question is how to deal with nsaccountlock missing in existing user accounts? I am not sure how to extend the framework to return Accounts disabled: False if nsaccountlock is NoneType.

For more info, see @MartinBasti's post merge comments in #444

@MartinBasti
Copy link
Contributor

It looks that my proposal is not the right way, sorry. (See: #444)

@MartinBasti MartinBasti added the rejected Pull Request has been rejected label Mar 1, 2017
@MartinBasti MartinBasti closed this Mar 1, 2017
@redhatrises redhatrises deleted the nsaccountlock_user_fixes branch March 1, 2017 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rejected Pull Request has been rejected
Projects
None yet
2 participants