-
Notifications
You must be signed in to change notification settings - Fork 10
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
Do not rely on exop_passwd #536
Conversation
b66eb13
to
2812826
Compare
AD really does not support password EXOP? |
ee5b935
to
8fca3a7
Compare
How about adding a dropdown setting for the password handling:
|
I am a bit uneasy having a fallback from passwd exop to modify on failure. |
7564090
to
4570805
Compare
I agree! |
4570805
to
58e4fa7
Compare
b1f6767
to
a94c138
Compare
92a1843
to
0ea6521
Compare
lib/LDAPUserManager.php
Outdated
if ($this->configuration->useUnicodePassword()) { | ||
$entry['unicodePwd'] = iconv('UTF-8', 'UTF-16LE', '"' . $password . '"'); | ||
} else { | ||
$entry['userPassword'] = $password; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May want to hash this? But then it opens a can of worms of which hash to use and so on…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are implementations hashing it automatically if not hashed already, so not sure if we want to go into that rabbit hole of choosing a hash algorithm.
@come-nc fixed your comments |
Any idea when this PR will make it's way through? Debating on handling via a custom branch or not. |
CI is failing |
7e415f8
to
0b64829
Compare
cb453b4
to
a680dba
Compare
I was able to finally solve this (was a typo 😅 ) |
* Do not rely on exop_passwd but check rootDSE for support and fallback to mod_replace Signed-off-by: Ferdinand Thiessen <[email protected]>
Instead of relying on
exop_passwd
for password changing, check rootDSE for support and fallback tomod_replace
otherwise.This should fix AD support.