1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

Ensure we get this option from the command line, not the internal

smb.conf we generate.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2008-03-06 22:03:10 +11:00
parent 2232255ce3
commit 25887c8728

View File

@@ -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;
}