mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
LdapConnection: Do not explicitly emit the bind password in the log
This commit is contained in:
parent
24eab867e5
commit
9587c363f6
@ -1199,7 +1199,7 @@ class LdapConnection implements Selectable, Inspectable
|
|||||||
. ($this->port ? ':' . $this->port : '');
|
. ($this->port ? ':' . $this->port : '');
|
||||||
|
|
||||||
if ($this->bound) {
|
if ($this->bound) {
|
||||||
$bindParams = ' -D "' . $this->bindDn . '"' . ($this->bindPw ? ' -w "' . $this->bindPw . '"' : '');
|
$bindParams = ' -D "' . $this->bindDn . '"' . ($this->bindPw ? ' -W' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($deref === LDAP_DEREF_NEVER) {
|
if ($deref === LDAP_DEREF_NEVER) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user