summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 17:04:22 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 17:04:22 +0100
commita1cc27814240bf50bd546dcfc8b80d3838a6a38d (patch)
tree04d7c24dcbbeb344fa36b5a0937015b44008da30 /source4/torture
parentcb77fca1cd4cb340ca619410195aa6895f848b92 (diff)
downloadsamba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.tar.gz
samba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.tar.bz2
samba-a1cc27814240bf50bd546dcfc8b80d3838a6a38d.zip
Remove use of global_loadparm during initialization of gensec.
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index 3e5d2d4323..2fcf700c36 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -77,6 +77,8 @@ _PUBLIC_ NTSTATUS torture_rpc_connection(struct torture_context *tctx,
NTSTATUS status;
struct dcerpc_binding *binding;
+ dcerpc_init(tctx->lp_ctx);
+
status = torture_rpc_binding(tctx, &binding);
if (NT_STATUS_IS_ERR(status))
return status;
@@ -371,8 +373,6 @@ NTSTATUS torture_rpc_init(void)
{
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "RPC");
- dcerpc_init();
-
ndr_table_init();
torture_suite_add_simple_test(suite, "LSA", torture_rpc_lsa);