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

Improved error message

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@401 44740490-163a-0410-bde0-09ae8108e29a
parent db538fbc
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ class SimpleSAML_Auth_LDAP {
if ($enable_tls) {
if (!@ldap_start_tls($this->ldap)) {
throw new Exception('Could not force LDAP into TLS-session. Please verify certificates and configuration');
throw new Exception('Could not force LDAP into TLS-session. Please verify certificates and configuration. Could also be that PHP the LDAP library cannot connect to the LDAP server [' . $hostname . ']: ' . ldap_error($this->ldap) );
}
}
......
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