summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-26 15:10:00 +0200
committerGünther Deschner <gd@samba.org>2008-06-26 18:36:35 +0200
commit31f1ad43114cca6684f59fdf93cd8230c5ca21b4 (patch)
treea18f18233ce6d55f1d9ef8bbd151b24d33889ba1 /source3/libnet
parenta8b8994c2df9069c0776298592ef14fe476863f1 (diff)
downloadsamba-31f1ad43114cca6684f59fdf93cd8230c5ca21b4.tar.gz
samba-31f1ad43114cca6684f59fdf93cd8230c5ca21b4.tar.bz2
samba-31f1ad43114cca6684f59fdf93cd8230c5ca21b4.zip
libnet_dssync: pass down drsuapi_DsReplicaOIDMapping_Ctr to callback.
Guenther (This used to be commit cbff970facae295650742d12768f23c7f67380a6)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_dssync.c2
-rw-r--r--source3/libnet/libnet_dssync.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index ef6f161f34..1fb30d796a 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -413,6 +413,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
if (ctx->processing_fn) {
status = ctx->processing_fn(mem_ctx,
ctr1->first_object,
+ &ctr1->mapping_ctr,
ctx);
if (!NT_STATUS_IS_OK(status)) {
ctx->error_message = talloc_asprintf(mem_ctx,
@@ -450,6 +451,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx,
if (ctx->processing_fn) {
status = ctx->processing_fn(mem_ctx,
ctr6->first_object,
+ &ctr6->mapping_ctr,
ctx);
if (!NT_STATUS_IS_OK(status)) {
ctx->error_message = talloc_asprintf(mem_ctx,
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h
index 8c26562845..2fe7718f07 100644
--- a/source3/libnet/libnet_dssync.h
+++ b/source3/libnet/libnet_dssync.h
@@ -21,6 +21,7 @@ struct dssync_context;
typedef NTSTATUS (*dssync_processing_fn_t)(TALLOC_CTX *,
struct drsuapi_DsReplicaObjectListItemEx *,
+ struct drsuapi_DsReplicaOIDMapping_Ctr *,
struct dssync_context *ctx);
struct dssync_context {