summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-05 08:49:28 (GMT)
committerAleksander Machniak <alec@alec.pl>2014-08-05 08:49:28 (GMT)
commit1f801f7538533d3670d19561e996b11cec9da85e (patch)
tree88371a0ae55ff6ca11eba3a57251896574252ba9
parent6ab1a1b73e1cdc0a2ab76fd7c184b37dd9628480 (diff)
downloadNet_LDAP3-1f801f7538533d3670d19561e996b11cec9da85e.tar.gz
Don't log bind passwords
-rw-r--r--lib/Net/LDAP3.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
index 1b3ac73..3202f5a 100644
--- a/lib/Net/LDAP3.php
+++ b/lib/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");