Skip to content
Snippets Groups Projects
Commit 1f3008c6 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

When bind() fails, log the error message

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1178 44740490-163a-0410-bde0-09ae8108e29a
parent 6acde04d
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ class SimpleSAML_Auth_LDAP { ...@@ -165,7 +165,7 @@ class SimpleSAML_Auth_LDAP {
SimpleSAML_Logger::debug('Library - LDAP: Bind successfull with ' . $dn); SimpleSAML_Logger::debug('Library - LDAP: Bind successfull with ' . $dn);
return true; return true;
} }
SimpleSAML_Logger::debug('Library - LDAP: Bind failed with ' . $dn); SimpleSAML_Logger::debug('Library - LDAP: Bind failed with ' . $dn . ' (' . ldap_error($this->ldap) . ')');
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment