diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-03-05 20:33:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-10 17:11:57 +0100 |
commit | 9f21787131a062c15b4757d3e655fbb5fbc9960b (patch) | |
tree | 83c3b411a9393fd7a86cd3dcea832bb2c634fdc7 | |
parent | 89f8c35ac4cb123c930207f6e8dd2ff4e428db72 (diff) | |
download | samba-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>
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 2 | ||||
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/dssync.c | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 3436b452c6..a8a3f80fa6 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -269,7 +269,7 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req) return; } - r->out.level_out = talloc(r, int32_t); + r->out.level_out = talloc(r, uint32_t); if (tevent_req_nomem(r->out.level_out, req)) { return; } diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index 45a3d04ab1..8eac1fd122 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -2444,7 +2444,7 @@ static void becomeDC_drsuapi_pull_partition_send(struct libnet_BecomeDC_state *s r = talloc(s, struct drsuapi_DsGetNCChanges); if (composite_nomem(r, c)) return; - r->out.level_out = talloc(r, int32_t); + r->out.level_out = talloc(r, uint32_t); if (composite_nomem(r->out.level_out, c)) return; r->in.req = talloc(r, union drsuapi_DsGetNCChangesRequest); if (composite_nomem(r->in.req, c)) return; 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); |