diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-27 23:31:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:24 -0500 |
commit | 3048e9ad654506219b169a934edded388d10fcad (patch) | |
tree | c1844fe26108014e59c2be927266783b67124e6e /source4/torture/rpc | |
parent | 3ff257b36b9a7adb986f39f66b2c8181b61a29ee (diff) | |
download | samba-3048e9ad654506219b169a934edded388d10fcad.tar.gz samba-3048e9ad654506219b169a934edded388d10fcad.tar.bz2 samba-3048e9ad654506219b169a934edded388d10fcad.zip |
r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/mgmt.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/scanner.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/session_key.c | 6 | ||||
-rw-r--r-- | source4/torture/rpc/spoolss_notify.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c index 40a3438492..f27dcd7b05 100644 --- a/source4/torture/rpc/mgmt.c +++ b/source4/torture/rpc/mgmt.c @@ -228,7 +228,7 @@ BOOL torture_rpc_mgmt(struct torture_context *torture) continue; } - lp_set_cmdline("torture:binding", dcerpc_binding_string(loop_ctx, b)); + lp_set_cmdline(global_loadparm, "torture:binding", dcerpc_binding_string(loop_ctx, b)); status = torture_rpc_connection(torture, &p, &ndr_table_mgmt); if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) { diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index c070a47754..976279a817 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -131,7 +131,7 @@ bool torture_rpc_scanner(struct torture_context *torture) b->endpoint = talloc_strdup(b, l->table->name); } - lp_set_cmdline("torture:binding", dcerpc_binding_string(torture, b)); + lp_set_cmdline(global_loadparm, "torture:binding", dcerpc_binding_string(torture, b)); status = torture_rpc_connection(torture, &p, &ndr_table_mgmt); if (!NT_STATUS_IS_OK(status)) { 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"); diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index c6fb71c465..e44c2a874b 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -224,7 +224,7 @@ static bool test_RFFPCNEx(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, dcerpc_register_ep_server(&ep_server), "unable to register spoolss server"); - lp_set_cmdline("dcerpc endpoint servers", "spoolss"); + lp_set_cmdline(global_loadparm, "dcerpc endpoint servers", "spoolss"); address = iface_n_ip(0); torture_comment(tctx, "Listening for callbacks on %s\n", address); |