Explorar el Código

Merge pull request #45358 from nextcloud/backport/45357/stable27

[stable27] fix: add ldap_exop_passwd function to sensitive value
tags/v27.1.10rc1
Joas Schilling hace 4 semanas
padre
commit
f5e838df0d
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      apps/user_ldap/lib/LDAP.php

+ 1
- 1
apps/user_ldap/lib/LDAP.php Ver fichero

@@ -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?

Cargando…
Cancelar
Guardar