mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
r4989: Display failed LDAP-server-uri.
Guenther (This used to be commit d433c7b476005064b9cfd339bbd8a25b40de59c1)
This commit is contained in:
parent
de87569cfb
commit
23f558535e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user