-
Notifications
You must be signed in to change notification settings - Fork 163
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
win_domain_user created account could not be enabled #316
Comments
Looks like community.windows/plugins/modules/win_domain_user.ps1 Lines 30 to 40 in a59b68e
0x00000533 ERROR_ACCOUNT_DISABLED as one of the failure (maybe success?) codes. I'm honestly not sure what this error should really be when it comes to determining if the credential is valid or not but currently it's treated as a failure stopping the whole module.
|
gamethis
pushed a commit
to homedepot/community.windows
that referenced
this issue
Nov 10, 2021
Merged
jborean93
added a commit
that referenced
this issue
Nov 22, 2021
* fix for #316 * Update plugins/modules/win_domain_user.ps1 Co-authored-by: Jordan Borean <[email protected]> * added fragment and more linting * fixing linting Co-authored-by: Larry Lane <[email protected]> Co-authored-by: Jordan Borean <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
Running win_domain_user to create a new account failed, becaus of password policy violation. Running this job next time will not enable this accout although the passwor is valid and does not violate the policy.
ISSUE TYPE
COMPONENT NAME
community.windows.win_domain_user
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 20.04 as ansible controller and also produceable with AWX 19.3.0
STEPS TO REPRODUCE
Rerun this step with a valid password
EXPECTED RESULTS
The user should be created and enabled with the correct version of the password.
ACTUAL RESULTS
The user account was created during first run. Because of an empty passsword it is disabled. That's okay for security reason. At the second i get the following message:
It works if i change the parameter "update_password" from when_changed to always. But next run i will only change this password if it was really different. So i have not chance to enable an user account.
The text was updated successfully, but these errors were encountered: