libnet_dssync: pass down drsuapi_DsReplicaOIDMapping_Ctr to callback.
authorGünther Deschner <gd@samba.org>
Thu, 26 Jun 2008 13:10:00 +0000 (15:10 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 26 Jun 2008 16:36:35 +0000 (18:36 +0200)
Guenther
(This used to be commit cbff970facae295650742d12768f23c7f67380a6)

source3/libnet/libnet_dssync.c
source3/libnet/libnet_dssync.h

index ef6f161f342b2f0d0ddf83a857a8f7541f5b7450..1fb30d796a3c5c1aeb98ea8430aeb0cf9698db22 100644 (file)
@@ -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,
index 8c26562845c5160225fcad6fd46cc901135222f4..2fe7718f0716af55fe727d58adf91e607830cb6e 100644 (file)
@@ -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 {