From eccb2d16dfb584ce4c38cd08235b9ab5eca6072c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Jan 2007 11:15:56 +0000 Subject: r20629: add a wrapper function for ldb_extended(ldb, DSDB_EXTENDED_REPLICATED_OBJECTS_OID, out, &ext_res); which prepares the replicated objects, the repl_meta_data ldb module will then add the uSNCreated, uSNChanged and some other things and will apply the objects to the partition specific ldb metze (This used to be commit 48d568a75b8109807af29f5d9604240c20c1a116) --- source4/dsdb/samdb/samdb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h index 0fa4d96f04..dc604cce78 100644 --- a/source4/dsdb/samdb/samdb.h +++ b/source4/dsdb/samdb/samdb.h @@ -28,7 +28,10 @@ struct drsuapi_DsNameInfo1; struct drsuapi_DsReplicaObject; struct drsuapi_DsReplicaOIDMapping_Ctr; struct drsuapi_DsReplicaAttribute; +struct drsuapi_DsGetNCChangesCtr1; +struct drsuapi_DsGetNCChangesCtr6; struct ldb_dn; +struct ldb_message; #define DSDB_CONTROL_REPLICATED_OBJECT_OID "1.3.6.1.4.1.7165.4.3.1" struct dsdb_control_replicated_object { @@ -36,8 +39,15 @@ struct dsdb_control_replicated_object { }; #define DSDB_EXTENDED_REPLICATED_OBJECTS_OID "1.3.6.1.4.1.7165.4.4.1" +struct dsdb_extended_replicated_object { + struct ldb_message *msg; +}; + struct dsdb_extended_replicated_objects { struct ldb_dn *partition_dn; + + uint32_t num_objects; + struct dsdb_extended_replicated_object *objects; }; #include "librpc/gen_ndr/security.h" -- cgit