summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/rpc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-28 15:57:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:01 -0500
commit9545dc28352f7a0e2e4f182a0a7a06c5934caad7 (patch)
treea0ccc2e69cc2a28b71f5cadc6fb09ace087aeea6 /source4/torture/rpc/rpc.c
parent6394f3ec4ba2f174f88f4dabd2d9b83f650d77fb (diff)
downloadsamba-9545dc28352f7a0e2e4f182a0a7a06c5934caad7.tar.gz
samba-9545dc28352f7a0e2e4f182a0a7a06c5934caad7.tar.bz2
samba-9545dc28352f7a0e2e4f182a0a7a06c5934caad7.zip
r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
policy handles can be shared between connections metze (This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)
Diffstat (limited to 'source4/torture/rpc/rpc.c')
-rw-r--r--source4/torture/rpc/rpc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index 5348a87489..c3060d08d7 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -56,7 +56,8 @@ _PUBLIC_ NTSTATUS torture_rpc_connection(TALLOC_CTX *parent_ctx,
NTSTATUS torture_rpc_connection_transport(TALLOC_CTX *parent_ctx,
struct dcerpc_pipe **p,
const struct dcerpc_interface_table *table,
- enum dcerpc_transport_t transport)
+ enum dcerpc_transport_t transport,
+ uint32_t assoc_group_id)
{
NTSTATUS status;
const char *binding = lp_parm_string(-1, "torture", "binding");
@@ -77,6 +78,7 @@ NTSTATUS torture_rpc_connection_transport(TALLOC_CTX *parent_ctx,
}
b->transport = transport;
+ b->assoc_group_id = assoc_group_id;
status = dcerpc_pipe_connect_b(mem_ctx, p, b, table,
cmdline_credentials, NULL);