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

Fix ad_user cannot_change_password state #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bmhughes
Copy link

@bmhughes bmhughes commented Aug 24, 2021

Description

As documented at https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/useraccountcontrol-manipulate-account-properties the PASSWD_CANT_CHANGE flag does not represent the state of the user cannot change password setting after circa Server 2008 as the function is achieved by ACEs instead.

Read the value from the default property PasswordNeverExpires instead

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@hashicorp-cla
Copy link

hashicorp-cla commented Aug 24, 2021

CLA assistant check
All committers have signed the CLA.

@bmhughes bmhughes changed the title Fix ad_user password_never_expires state Fix ad_user cannot_change_password state Aug 24, 2021
As documented at https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/useraccountcontrol-manipulate-account-properties
the PASSWD_CANT_CHANGE flag does not represent the state of the user
cannot change password setting after circa Server 2008 as the
function is achieved by ACEs instead.

Read the value from the default PasswordNeverExpires instead
@bmhughes bmhughes force-pushed the fix-user-password-never-expires branch from 4d45a8f to de16bb9 Compare September 20, 2022 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants