summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-06 22:03:10 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-06 22:03:10 +1100
commit85bf2abee008f73602fabccd63296338a43ebb11 (patch)
tree0a54fd8c4430c9eaa83e7bed0ce0b4236abac7d6
parenteacf38cdb6c37d6fe979f2521a0baa1a66c6ddb5 (diff)
downloadsamba-85bf2abee008f73602fabccd63296338a43ebb11.tar.gz
samba-85bf2abee008f73602fabccd63296338a43ebb11.tar.bz2
samba-85bf2abee008f73602fabccd63296338a43ebb11.zip
Ensure we get this option from the command line, not the internal
smb.conf we generate. Andrew Bartlett (This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index 6e882d5626..4a3f7b5f61 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -703,7 +703,8 @@ bool torture_net_become_dc(struct torture_context *torture)
goto cleanup;
}
- if (lp_parm_bool(s->lp_ctx, NULL, "become dc", "do not unjoin", false)) {
+ /* Make sure we get this from the command line */
+ if (lp_parm_bool(toture->lp_ctx, NULL, "become dc", "do not unjoin", false)) {
talloc_free(s);
return ret;
}