diff options
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/context.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/samba3misc.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index dacc9958be..5b2e0f8af8 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -892,7 +892,7 @@ bool torture_raw_context(struct torture_context *torture, bool ret = true; if (lp_use_spnego()) { ret &= torture_raw_context_int(torture, cli); - lp_set_cmdline("use spnego", "False"); + lp_set_cmdline(global_loadparm, "use spnego", "False"); } ret &= torture_raw_context_int(torture, cli); diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c index 3f6c552cb4..aad13ecd8f 100644 --- a/source4/torture/raw/samba3misc.c +++ b/source4/torture/raw/samba3misc.c @@ -346,7 +346,7 @@ bool torture_samba3_badpath(struct torture_context *torture) nt_status_support = lp_nt_status_support(); - if (!lp_set_cmdline("nt status support", "yes")) { + if (!lp_set_cmdline(global_loadparm, "nt status support", "yes")) { printf("Could not set 'nt status support = yes'\n"); goto fail; } @@ -355,7 +355,7 @@ bool torture_samba3_badpath(struct torture_context *torture) goto fail; } - if (!lp_set_cmdline("nt status support", "no")) { + if (!lp_set_cmdline(global_loadparm, "nt status support", "no")) { printf("Could not set 'nt status support = yes'\n"); goto fail; } @@ -364,7 +364,7 @@ bool torture_samba3_badpath(struct torture_context *torture) goto fail; } - if (!lp_set_cmdline("nt status support", + if (!lp_set_cmdline(global_loadparm, "nt status support", nt_status_support ? "yes":"no")) { printf("Could not reset 'nt status support = yes'"); goto fail; |