summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-08 22:28:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:24 -0500
commit8845a00fa1bee118a24fe160eb7482465190461a (patch)
treeeeb44ffd70aec456b62026d394162d354d610b89
parentb5bdec2f541ebe9f23bbbce39a66ba0625d6011a (diff)
downloadsamba-8845a00fa1bee118a24fe160eb7482465190461a.tar.gz
samba-8845a00fa1bee118a24fe160eb7482465190461a.tar.bz2
samba-8845a00fa1bee118a24fe160eb7482465190461a.zip
r19641: ldap_delete() is only allowed as user, we need to give credentials to the ildap backend
metze (This used to be commit a996d2633600d32b2c2c04edebd0b901c627f00b)
-rw-r--r--source4/torture/rpc/testjoin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 83ecc4b4c9..d325f10cee 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -438,6 +438,8 @@ NTSTATUS torture_leave_ads_domain(TALLOC_CTX *mem_ctx, struct libnet_JoinDomain
return NT_STATUS_NO_MEMORY;
}
+ ldb_set_opaque(ldb_ctx, "credentials", cmdline_credentials);
+
rtn = ldb_connect(ldb_ctx, remote_ldb_url, 0, NULL);
if (rtn != 0) {
libnet_r->out.error_string = NULL;