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

Using modify to change the password failed #1143

Open
linzehai0801 opened this issue May 6, 2024 · 0 comments
Open

Using modify to change the password failed #1143

linzehai0801 opened this issue May 6, 2024 · 0 comments

Comments

@linzehai0801
Copy link

I use
new_password_entry = {'unicodePwd': [(MODIFY_REPLACE, [new_password.encode('utf-16-le')])]}
conn.modify(entry.entry_dn, new_password_entry)
When changing the password, the password was successfully changed but authentication failed.
Using
password_modify = conn. The extend. Microsoft. Modify_password (entry. Entry_dn new_password)
change the password, authentication is successful. Why, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant