1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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

smb.conf we generate.

Andrew Bartlett
(This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)
This commit is contained in:
Andrew Bartlett 2008-03-06 22:03:10 +11:00
parent eacf38cdb6
commit 85bf2abee0

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