summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-05-07 11:22:40 +0200
committerAleksander Machniak <machniak@kolabsys.com>2014-05-07 11:22:40 +0200
commit94caeb4a74c5567475ca8e21a032cd71b2f4f716 (patch)
tree38c61c736eaa203194b84fb747676a1154f2b472 /lib
parent1027d0435fdba234501a304d22a39c12f79bbe61 (diff)
downloadwebadmin-94caeb4a74c5567475ca8e21a032cd71b2f4f716.tar.gz
Do not log bind passwords (in debug mode)
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/Net/LDAP3.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext/Net/LDAP3.php b/lib/ext/Net/LDAP3.php
index 2561ffc..dd3775f 100644
--- a/lib/ext/Net/LDAP3.php
+++ b/lib/ext/Net/LDAP3.php
@@ -481,7 +481,7 @@ class Net_LDAP3
return true;
}
- $this->_debug("C: Bind [dn: $bind_dn] [pass: $bind_pw]");
+ $this->_debug("C: Bind [dn: $bind_dn]");
if (@ldap_bind($this->conn, $bind_dn, $bind_pw)) {
$this->_debug("S: OK");
@@ -1435,7 +1435,7 @@ class Net_LDAP3
$method = 'DIGEST-MD5';
}
- $this->_debug("C: Bind [mech: $method, authc: $authc, authz: $authz] [pass: $pass]");
+ $this->_debug("C: Bind [mech: $method, authc: $authc, authz: $authz]");
if (ldap_sasl_bind($this->conn, null, $pass, $method, null, $authc, $authz)) {
$this->_debug("S: OK");