summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-17 18:47:32 +0200
committerGünther Deschner <gd@samba.org>2008-10-17 23:06:33 +0200
commit2f8e854417e930d9b3483c248a60a36164d7703b (patch)
treeb8b2e3fcfc0b782f3b9791cbd52b71ffb239cf89
parent1cdd9e37b0dab4e3a23fa161b3922b574e049afe (diff)
downloadsamba-2f8e854417e930d9b3483c248a60a36164d7703b.tar.gz
samba-2f8e854417e930d9b3483c248a60a36164d7703b.tar.bz2
samba-2f8e854417e930d9b3483c248a60a36164d7703b.zip
s4-smbtorture: fix test_DsGetNCChanges torture test.
This must have been broken since a while already. Guenther
-rw-r--r--source4/torture/rpc/drsuapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index da04c64b39..55e36bf826 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -506,6 +506,7 @@ static bool test_DsGetNCChanges(struct dcerpc_pipe *p, struct torture_context *t
struct drsuapi_DsReplicaObjectIdentifier nc;
struct GUID null_guid;
struct dom_sid null_sid;
+ int32_t level_out;
struct {
int32_t level;
} array[] = {
@@ -531,6 +532,7 @@ static bool test_DsGetNCChanges(struct dcerpc_pipe *p, struct torture_context *t
r.in.bind_handle = &priv->bind_handle;
r.in.level = &array[i].level;
+ r.out.level = &level_out;
switch (*r.in.level) {
case 5: