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:20:12 +0000 |
commit | 3ed9b1bfd1d4dad28dbac1afea664b340ef68968 (patch) | |
tree | 0f5b2e19021c22758d87d0c9f9b43e3e68740f61 /apps/user_ldap | |
parent | 63da6067b4318f3d3bcc80f5f7ab574fe55ebd11 (diff) | |
download | nextcloud-server-3ed9b1bfd1d4dad28dbac1afea664b340ef68968.tar.gz nextcloud-server-3ed9b1bfd1d4dad28dbac1afea664b340ef68968.zip |
fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'apps/user_ldap')
-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 454350ba095..14d7695a2a8 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? |