From: Andrew Tridgell Date: Tue, 30 Sep 2008 04:59:50 +0000 (-0700) Subject: setup the loadparm context for ldb in testjoin X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d87e9ba56b00962be6b797464e77619bc6f0ba2c;p=thirdparty%2Fsamba.git setup the loadparm context for ldb in testjoin --- diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index 21542e9b165..3408a1924cf 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -472,6 +472,7 @@ static NTSTATUS torture_leave_ads_domain(struct torture_context *torture, } ldb_set_opaque(ldb_ctx, "credentials", cmdline_credentials); + ldb_set_opaque(ldb_ctx, "loadparm", cmdline_lp_ctx); rtn = ldb_connect(ldb_ctx, remote_ldb_url, 0, NULL); if (rtn != 0) {