diff options
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/repl/replicated_objects.c | 5 | ||||
-rw-r--r-- | source4/dsdb/samdb/samdb.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index 8018254a00..4005d0ba93 100644 --- a/source4/dsdb/repl/replicated_objects.c +++ b/source4/dsdb/repl/replicated_objects.c @@ -231,6 +231,11 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb, out->num_objects); W_ERROR_HAVE_NO_MEMORY(out->objects); + /* pass the linked attributes down to the repl_meta_data + module */ + out->linked_attributes_count = linked_attributes_count; + out->linked_attributes = linked_attributes; + for (i=0, cur = first_object; cur; cur = cur->next_object, i++) { if (i == out->num_objects) { return WERR_FOOBAR; diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h index 4a40f6e623..d86200399a 100644 --- a/source4/dsdb/samdb/samdb.h +++ b/source4/dsdb/samdb/samdb.h @@ -73,7 +73,7 @@ struct dsdb_extended_replicated_objects { * this is the version of the dsdb_extended_replicated_objects * version 0: initial implementation */ -#define DSDB_EXTENDED_REPLICATED_OBJECTS_VERSION 0 +#define DSDB_EXTENDED_REPLICATED_OBJECTS_VERSION 1 uint32_t version; struct ldb_dn *partition_dn; @@ -83,6 +83,9 @@ struct dsdb_extended_replicated_objects { uint32_t num_objects; struct dsdb_extended_replicated_object *objects; + + uint32_t linked_attributes_count; + const struct drsuapi_DsReplicaLinkedAttribute *linked_attributes; }; struct dsdb_naming_fsmo { |