summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-09 11:15:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:17 -0500
commiteccb2d16dfb584ce4c38cd08235b9ab5eca6072c (patch)
treed4851529911f935d388793a9c2dab710d79f85f7 /source4/dsdb/samdb
parentcfa230c480b0c55a23e23dcb39e1b170da576c95 (diff)
downloadsamba-eccb2d16dfb584ce4c38cd08235b9ab5eca6072c.tar.gz
samba-eccb2d16dfb584ce4c38cd08235b9ab5eca6072c.tar.bz2
samba-eccb2d16dfb584ce4c38cd08235b9ab5eca6072c.zip
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)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/samdb.h10
1 files changed, 10 insertions, 0 deletions
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"