summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/session_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/session_key.c')
-rw-r--r--source4/torture/rpc/session_key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/session_key.c b/source4/torture/rpc/session_key.c
index ac65b80071..69dc8da6c1 100644
--- a/source4/torture/rpc/session_key.c
+++ b/source4/torture/rpc/session_key.c
@@ -148,9 +148,9 @@ static bool test_secrets(struct torture_context *torture, const void *_data)
const struct secret_settings *settings =
(const struct secret_settings *)_data;
- lp_set_cmdline("ntlmssp client:keyexchange", settings->keyexchange?"True":"False");
- lp_set_cmdline("ntlmssp_client:ntlm2", settings->ntlm2?"True":"False");
- lp_set_cmdline("ntlmssp_client:lm_key", settings->lm_key?"True":"False");
+ lp_set_cmdline(global_loadparm, "ntlmssp client:keyexchange", settings->keyexchange?"True":"False");
+ lp_set_cmdline(global_loadparm, "ntlmssp_client:ntlm2", settings->ntlm2?"True":"False");
+ lp_set_cmdline(global_loadparm, "ntlmssp_client:lm_key", settings->lm_key?"True":"False");
torture_assert_ntstatus_ok(torture, torture_rpc_binding(torture, &binding),
"Getting bindoptions");