From 1f3008c60ab93a1dbec3a558f2aa8d31ccdb3c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 20 Jan 2009 09:52:10 +0000 Subject: [PATCH] When bind() fails, log the error message git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1178 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Auth/LDAP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Auth/LDAP.php b/lib/SimpleSAML/Auth/LDAP.php index fe4db177c..de672a4dd 100644 --- a/lib/SimpleSAML/Auth/LDAP.php +++ b/lib/SimpleSAML/Auth/LDAP.php @@ -165,7 +165,7 @@ class SimpleSAML_Auth_LDAP { SimpleSAML_Logger::debug('Library - LDAP: Bind successfull with ' . $dn); 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; } -- GitLab