s4-smbtorture: fix test_DsGetNCChanges torture test.
authorGünther Deschner <gd@samba.org>
Fri, 17 Oct 2008 16:47:32 +0000 (18:47 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 17 Oct 2008 21:06:33 +0000 (23:06 +0200)
This must have been broken since a while already.

Guenther

source4/torture/rpc/drsuapi.c

index da04c64b3976eea0744a449263ac7ae9cda805e4..55e36bf826cd99365c8e570d2226fd924f083771 100644 (file)
@@ -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: