diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-03-08 06:23:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:24 -0500 |
commit | 3370f2f2d7e5296e8f54f721003c07fac111d1ad (patch) | |
tree | 8149619a220e76f7904d04b163e792dac50749ad /source4/torture | |
parent | f80d21069b7e22fbe8abdd59e7acb748f0a6b1ce (diff) | |
download | samba-3370f2f2d7e5296e8f54f721003c07fac111d1ad.tar.gz samba-3370f2f2d7e5296e8f54f721003c07fac111d1ad.tar.bz2 samba-3370f2f2d7e5296e8f54f721003c07fac111d1ad.zip |
r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)
- Make default error string more consistant
Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ldap/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/common.c b/source4/torture/ldap/common.c index ebf302ad09..7a4aa8050f 100644 --- a/source4/torture/ldap/common.c +++ b/source4/torture/ldap/common.c @@ -86,7 +86,7 @@ NTSTATUS torture_ldap_connection2(TALLOC_CTX *mem_ctx, struct ldap_connection ** status = ldap_bind_simple(*conn, userdn, password); if (!NT_STATUS_IS_OK(status)) { - printf("Failed a simple ldap bind - %s\n", ldap_errstr(*conn, status)); + printf("Failed a simple ldap bind - %s\n", ldap_errstr(*conn, mem_ctx, status)); } return status; |