aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-05-16 16:54:18 +0530
committeryemkareems <yemkareems@gmail.com>2024-05-16 16:54:18 +0530
commit7c91ab1b090c0ea67b67f8243619a814c3d95063 (patch)
tree8c9e7a10f3df7b77bfd8c163c1f79c8a5e11c2d7
parentee8a97be4330d402d5bc926f64c6d8ab6812df23 (diff)
downloadnextcloud-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.php2
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?