summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_dssync.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-17 00:54:35 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:04:40 +0200
commit0db26805da4f62c313237e762a81cebbe0f0357c (patch)
treec077cc34270063625ddea65a25cb75057a23e616 /source3/libnet/libnet_dssync.h
parent54d6ae09e268e169ee7f0f5ab02a465b030f4ba4 (diff)
downloadsamba-0db26805da4f62c313237e762a81cebbe0f0357c.tar.gz
samba-0db26805da4f62c313237e762a81cebbe0f0357c.tar.bz2
samba-0db26805da4f62c313237e762a81cebbe0f0357c.zip
dssync keytab: add support for keeping track of the up-to-date-ness vector.
The startup operation should get the old up-to-date-ness vector from the backend and the finish operation should store the new vector to the backend after replication. This adds the change of the signatures of the operations ot the dssync_ops struct and the implementation for the keytab ops. The up-to-date-ness vector is stored under the principal constructed as UTDV/$naming_context_dn@$dns_domain_name. The vector is still uninterpreted in libnet_dssync_process(). This will be the next step... This code is essentially by Metze. Michael (This used to be commit 01318fb27a1aa9e5fed0d4dd882a123ab568ac37)
Diffstat (limited to 'source3/libnet/libnet_dssync.h')
-rw-r--r--source3/libnet/libnet_dssync.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h
index 9b18dae4f5..16b84ad32c 100644
--- a/source3/libnet/libnet_dssync.h
+++ b/source3/libnet/libnet_dssync.h
@@ -20,12 +20,14 @@
struct dssync_context;
struct dssync_ops {
- NTSTATUS (*startup)(struct dssync_context *ctx, TALLOC_CTX *mem_ctx);
+ NTSTATUS (*startup)(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
+ struct replUpToDateVectorBlob **pold_utdv);
NTSTATUS (*process_objects)(struct dssync_context *ctx,
TALLOC_CTX *mem_ctx,
struct drsuapi_DsReplicaObjectListItemEx *objects,
struct drsuapi_DsReplicaOIDMapping_Ctr *mappings);
- NTSTATUS (*finish)(struct dssync_context *ctx, TALLOC_CTX *mem_ctx);
+ NTSTATUS (*finish)(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
+ struct replUpToDateVectorBlob *new_utdv);
};
struct dssync_context {