setup the loadparm context for ldb in testjoin
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Sep 2008 04:59:50 +0000 (21:59 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 30 Sep 2008 04:59:50 +0000 (21:59 -0700)
source4/torture/rpc/testjoin.c

index 21542e9b165f28099b10c45d214550957f8f02cf..3408a1924cfe82e18868bb9921084c86a0851815 100644 (file)
@@ -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) {