summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-05 21:58:01 +0200
committerStefan Metzmacher <metze@samba.org>2010-03-10 17:11:57 +0100
commitfeb4c8a3e345ae30f35f7a61d07c3fd3f0db446a (patch)
tree628ed4ffed31f16738e099c37baf62bfeee15110
parent9f21787131a062c15b4757d3e655fbb5fbc9960b (diff)
downloadsamba-feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a.tar.gz
samba-feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a.tar.bz2
samba-feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a.zip
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/libnet/libnet_dssync.c12
-rw-r--r--source3/rpcclient/cmd_drsuapi.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index 3b66979caa..37d2aaafb0 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -300,12 +300,12 @@ static NTSTATUS libnet_dssync_build_request(TALLOC_CTX *mem_ctx,
struct dssync_context *ctx,
const char *dn,
struct replUpToDateVectorBlob *utdv,
- int32_t *plevel,
+ uint32_t *plevel,
union drsuapi_DsGetNCChangesRequest *preq)
{
NTSTATUS status;
uint32_t count;
- int32_t level;
+ uint32_t level;
union drsuapi_DsGetNCChangesRequest req;
struct dom_sid null_sid;
enum drsuapi_DsExtendedOperation extended_op;
@@ -415,7 +415,7 @@ fail:
static NTSTATUS libnet_dssync_getncchanges(TALLOC_CTX *mem_ctx,
struct dssync_context *ctx,
- int32_t level,
+ uint32_t level,
union drsuapi_DsGetNCChangesRequest *req,
struct replUpToDateVectorBlob **pnew_utdv)
{
@@ -425,8 +425,8 @@ static NTSTATUS libnet_dssync_getncchanges(TALLOC_CTX *mem_ctx,
struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL;
struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL;
struct replUpToDateVectorBlob *new_utdv = NULL;
- int32_t level_out = 0;
- int32_t out_level = 0;
+ uint32_t level_out = 0;
+ uint32_t out_level = 0;
int y;
bool last_query;
@@ -576,7 +576,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
{
NTSTATUS status;
- int32_t level = 0;
+ uint32_t level = 0;
union drsuapi_DsGetNCChangesRequest req;
struct replUpToDateVectorBlob *old_utdv = NULL;
struct replUpToDateVectorBlob *pnew_utdv = NULL;
diff --git a/source3/rpcclient/cmd_drsuapi.c b/source3/rpcclient/cmd_drsuapi.c
index e11922a9f8..17363d4e15 100644
--- a/source3/rpcclient/cmd_drsuapi.c
+++ b/source3/rpcclient/cmd_drsuapi.c
@@ -308,9 +308,9 @@ static WERROR cmd_drsuapi_getncchanges(struct rpc_pipe_client *cli,
DATA_BLOB session_key;
- int32_t level = 8;
+ uint32_t level = 8;
bool single = false;
- int32_t level_out = 0;
+ uint32_t level_out = 0;
union drsuapi_DsGetNCChangesRequest req;
union drsuapi_DsGetNCChangesCtr ctr;
struct drsuapi_DsReplicaObjectIdentifier nc;
@@ -318,7 +318,7 @@ static WERROR cmd_drsuapi_getncchanges(struct rpc_pipe_client *cli,
struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL;
struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL;
- int32_t out_level = 0;
+ uint32_t out_level = 0;
int y;
uint32_t supported_extensions = 0;