summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-05 20:33:46 +0200
committerStefan Metzmacher <metze@samba.org>2010-03-10 17:11:57 +0100
commit9f21787131a062c15b4757d3e655fbb5fbc9960b (patch)
tree83c3b411a9393fd7a86cd3dcea832bb2c634fdc7 /source4/torture
parent89f8c35ac4cb123c930207f6e8dd2ff4e428db72 (diff)
downloadsamba-9f21787131a062c15b4757d3e655fbb5fbc9960b.tar.gz
samba-9f21787131a062c15b4757d3e655fbb5fbc9960b.tar.bz2
samba-9f21787131a062c15b4757d3e655fbb5fbc9960b.zip
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/drsuapi.c4
-rw-r--r--source4/torture/rpc/dssync.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index b7de7bf4ad..c947b04e70 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -530,9 +530,9 @@ static bool test_DsGetNCChanges(struct torture_context *tctx,
struct drsuapi_DsReplicaObjectIdentifier nc;
struct GUID null_guid;
struct dom_sid null_sid;
- int32_t level_out;
+ uint32_t level_out;
struct {
- int32_t level;
+ uint32_t level;
} array[] = {
{
5
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 3f100f91a7..2f903c74c3 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -761,12 +761,12 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
struct drsuapi_DsReplicaObjectIdentifier nc;
struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL;
struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL;
- int32_t out_level = 0;
+ uint32_t out_level = 0;
struct GUID null_guid;
struct dom_sid null_sid;
DATA_BLOB gensec_skey;
struct {
- int32_t level;
+ uint32_t level;
} array[] = {
/* {
5
@@ -883,7 +883,7 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
printf("Dumping AD partition: %s\n", nc.dn);
for (y=0; ;y++) {
- int32_t _level = 0;
+ uint32_t _level = 0;
union drsuapi_DsGetNCChangesCtr ctr;
ZERO_STRUCT(r.out);