diff options
author | yemkareems <yemkareems@gmail.com> | 2024-05-16 16:54:18 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-05-16 16:54:18 +0530 |
commit | 7c91ab1b090c0ea67b67f8243619a814c3d95063 (patch) | |
tree | 8c9e7a10f3df7b77bfd8c163c1f79c8a5e11c2d7 | |
parent | ee8a97be4330d402d5bc926f64c6d8ab6812df23 (diff) | |
download | nextcloud-server-7c91ab1b090c0ea67b67f8243619a814c3d95063.tar.gz nextcloud-server-7c91ab1b090c0ea67b67f8243619a814c3d95063.zip |
fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
-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 9322b6fbdaa..d17bd7ce136 100644 --- a/apps/user_ldap/lib/LDAP.php +++ b/apps/user_ldap/lib/LDAP.php @@ -319,7 +319,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? |