summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-16 15:47:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:05 -0500
commitc638a8380defc9afc713886f3290d581ac37995d (patch)
tree9e551d553d28d2d6ed7983b6df7ef2282b85a3c3 /source4/torture
parentd7b5a565efac8bae48acf57e5d7fc53c3173240f (diff)
downloadsamba-c638a8380defc9afc713886f3290d581ac37995d.tar.gz
samba-c638a8380defc9afc713886f3290d581ac37995d.tar.bz2
samba-c638a8380defc9afc713886f3290d581ac37995d.zip
r5830: start to analyse the attribute values, depending on the attribute type
metze (This used to be commit 63229b9503950847fbecd6ec22171d8c18d7ac91)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/drsuapi.c29
1 files changed, 26 insertions, 3 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index 57382289a2..c4dbe00958 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -907,7 +907,6 @@ static BOOL test_DsGetNCChanges(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
printf("testing DsGetNCChanges level %d\n",
array[i].level);
- ZERO_STRUCT(r.in);
r.in.bind_handle = &priv->bind_handle;
r.in.level = array[i].level;
@@ -915,20 +914,44 @@ static BOOL test_DsGetNCChanges(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
case 5:
nc.guid = null_guid;
nc.sid = null_sid;
- nc.dn = talloc_asprintf(mem_ctx, "CN=Schema,CN=Configuration,%s",
- priv->domain_obj_dn?priv->domain_obj_dn:"");
nc.dn = priv->domain_obj_dn?priv->domain_obj_dn:"";
+ r.in.req.req5.guid1 = null_guid;
+ r.in.req.req5.guid2 = null_guid;
r.in.req.req5.naming_context = &nc;
r.in.req.req5.usn1.usn1 = 0;
+ r.in.req.req5.usn1.usn2 = 0;
+ r.in.req.req5.usn1.usn3 = 0;
+ r.in.req.req5.coursor = NULL;
+ r.in.req.req5.unknown1 = 0;/*0x10201C70;*/
+ r.in.req.req5.unknown2 = 0;/*402;*/
+ r.in.req.req5.unknown3 = 0;/*402116;*/
+ r.in.req.req5.unknown4 = 0;
+ r.in.req.req5.h1 = 0;
+
break;
case 8:
nc.guid = null_guid;
nc.sid = null_sid;
nc.dn = priv->domain_obj_dn?priv->domain_obj_dn:"";
+ r.in.req.req8.guid1 = null_guid;
+ r.in.req.req8.guid2 = null_guid;
r.in.req.req8.naming_context = &nc;
r.in.req.req8.usn1.usn1 = 0;
+ r.in.req.req8.usn1.usn2 = 0;
+ r.in.req.req8.usn1.usn3 = 0;
+ r.in.req.req8.coursor = NULL;
+ r.in.req.req8.unknown1 = 0;/*0x10201C70;*/
+ r.in.req.req8.unknown2 = 0;/*402;*/
+ r.in.req.req8.unknown3 = 0;/*402116;*/
+ r.in.req.req8.unknown4 = 0;
+ r.in.req.req8.h1 = 0;
+ r.in.req.req8.unique_ptr1 = 0;
+ r.in.req.req8.unique_ptr2 = 0;
+ r.in.req.req8.ctr12.count = 0;
+ r.in.req.req8.ctr12.array = NULL;
+
break;
}