diff options
author | Günther Deschner <gd@samba.org> | 2005-01-25 20:36:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:10 -0500 |
commit | 23f558535e28cc65000d540817c31dcf98a82e77 (patch) | |
tree | bb2f9f1a4dfaa383fc9a15844a24dbea5bccb567 /source3/lib | |
parent | de87569cfbec28316d6b225fe1ab2dc5ebaa87a8 (diff) | |
download | samba-23f558535e28cc65000d540817c31dcf98a82e77.tar.gz samba-23f558535e28cc65000d540817c31dcf98a82e77.tar.bz2 samba-23f558535e28cc65000d540817c31dcf98a82e77.zip |
r4989: Display failed LDAP-server-uri.
Guenther
(This used to be commit d433c7b476005064b9cfd339bbd8a25b40de59c1)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/smbldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index e242a6c3b1..2fc71b1402 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -855,7 +855,8 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_ ldap_get_option(ldap_state->ldap_struct, LDAP_OPT_ERROR_STRING, &ld_error); DEBUG(ldap_state->num_failures ? 2 : 0, - ("failed to bind to server with dn= %s Error: %s\n\t%s\n", + ("failed to bind to server %s with dn=\"%s\" Error: %s\n\t%s\n", + ldap_state->uri, ldap_dn ? ldap_dn : "(unknown)", ldap_err2string(rc), ld_error ? ld_error : "(unknown)")); SAFE_FREE(ld_error); |