Skip to content

Commit

Permalink
Fix #12747: Better log message for LDAP auth errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Feb 13, 2011
1 parent 2f21556 commit 85439a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ldap_api.php
Expand Up @@ -82,7 +82,7 @@ function ldap_connect_bind( $p_binddn = '', $p_password = '' ) {
}

if ( !$t_br ) {
log_event( LOG_LDAP, "bind to ldap server failed - authentication error?" );
log_event( LOG_LDAP, "bind to ldap server failed: " . ldap_error( $t_ds ) );
trigger_error( ERROR_LDAP_AUTH_FAILED, ERROR );
} else {
log_event( LOG_LDAP, "bind to ldap server successful" );
Expand Down

0 comments on commit 85439a6

Please sign in to comment.