diff options
author | yemkareems <yemkareems@gmail.com> | 2024-05-16 16:54:18 +0530 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-05-16 12:23:12 +0000 |
commit | 8f24109572d30cdc51e564d902c2c9b5d9d32ce4 (patch) | |
tree | e3f21a4b960bae737ab484999f6cd06ec0e270da /apps/user_ldap/lib/LDAP.php | |
parent | ea82b23b3260a8ab50145ecff9887461350cceac (diff) | |
download | nextcloud-server-8f24109572d30cdc51e564d902c2c9b5d9d32ce4.tar.gz nextcloud-server-8f24109572d30cdc51e564d902c2c9b5d9d32ce4.zip |
fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'apps/user_ldap/lib/LDAP.php')
-rw-r--r-- | apps/user_ldap/lib/LDAP.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php index 8e63422b1ac..15ce4d2f412 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -318,7 +318,7 @@ class LDAP implements ILDAPWrapper { private function preFunctionCall(string $functionName, array $args): void { $this->curArgs = $args; - if(strcasecmp($functionName, 'ldap_bind') === 0) { + if(strcasecmp($functionName, 'ldap_bind') === 0 || strcasecmp($functionName, 'ldap_exop_passwd') === 0) { // The arguments are not key value pairs // \OCA\User_LDAP\LDAP::bind passes 3 arguments, the 3rd being the pw // Remove it via direct array access for now, although a better solution could be found mebbe? |