summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-04-03 22:43:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:46 -0500
commit690df3ccd98c586610cc5e528b05f7863b334a3c (patch)
tree6b299b91e74cd976711738b8e9667d99bb2d81c9 /source4/torture/rpc
parent464c48a62e9ddea7c463fa9a34abfc53c9a6617f (diff)
downloadsamba-690df3ccd98c586610cc5e528b05f7863b334a3c.tar.gz
samba-690df3ccd98c586610cc5e528b05f7863b334a3c.tar.bz2
samba-690df3ccd98c586610cc5e528b05f7863b334a3c.zip
r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/epmapper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 51914aa614..224a9e4ffa 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -49,6 +49,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct policy_handle handle;
int i;
struct dcerpc_syntax_id syntax;
+ uint32_t num_towers;
ZERO_STRUCT(uuid);
ZERO_STRUCT(handle);
@@ -58,6 +59,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.entry_handle = &handle;
r.out.entry_handle = &handle;
r.in.max_towers = 100;
+ r.out.num_towers = &num_towers;
dcerpc_floor_get_lhs_data(&twr->tower.floors[0], &syntax);
@@ -140,6 +142,7 @@ static BOOL test_Lookup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
struct GUID uuid;
struct rpc_if_id_t iface;
struct policy_handle handle;
+ uint32_t num_ents;
ZERO_STRUCT(handle);
@@ -150,6 +153,7 @@ static BOOL test_Lookup(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r.in.entry_handle = &handle;
r.out.entry_handle = &handle;
r.in.max_ents = 10;
+ r.out.num_ents = &num_ents;
do {
int i;