diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-05-16 16:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 16:46:10 +0200 |
commit | f5e838df0d184cce9e12013d2960c34f5647a56a (patch) | |
tree | a56218afd4ce8d47af91af186be6309f357a575b | |
parent | c6ce255404cfeca9a1be1ddbb5fcb7f10ef7b0fd (diff) | |
parent | 3ed9b1bfd1d4dad28dbac1afea664b340ef68968 (diff) | |
download | nextcloud-server-f5e838df0d184cce9e12013d2960c34f5647a56a.tar.gz nextcloud-server-f5e838df0d184cce9e12013d2960c34f5647a56a.zip |
Merge pull request #45358 from nextcloud/backport/45357/stable27
[stable27] fix: add ldap_exop_passwd function to sensitive value
-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? |