s4:dsdb Add control for signaling between repl_meta_data and linked_attributes
authorAndrew Bartlett <abartlet@samba.org>
Mon, 14 Jun 2010 05:30:36 +0000 (15:30 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jun 2010 23:57:51 +0000 (09:57 +1000)
This control will allow the linked_attributes module to know if
repl_meta_data has already handled the creation of forward and back
links.

Andrew Bartlett

source4/dsdb/common/util.h
source4/dsdb/samdb/samdb.h
source4/setup/schema_samba4.ldif

index 53ffdc4d31a0fc230171422b19822bf2575dc77f..0b6ef3d0a12d9c900d11725ce4a8875a235b05f8 100644 (file)
@@ -31,4 +31,5 @@
 #define DSDB_MODIFY_RELAX                    0x0020
 #define DSDB_MODIFY_PERMISSIVE               0x0040
 #define DSDB_FLAG_AS_SYSTEM                  0x0080
+
 #define DSDB_SEARCH_ONE_ONLY                 0x0020 /* give an error unless 1 record */
index ee42269000cfac791021b4df5338b1e514cddc7d..88c61132eeb0009884a7fd111c41cb6ef07bc923 100644 (file)
@@ -82,6 +82,11 @@ struct dsdb_control_password_change_status {
 
 #define DSDB_CONTROL_PASSWORD_CHANGE_OLD_PW_CHECKED_OID "1.3.6.1.4.1.7165.4.3.10"
 
+/**
+   DSDB_CONTROL_APPLY_LINKS is internal to Samba4 - a token passed between repl_meta_data and linked_attributes modules
+*/
+#define DSDB_CONTROL_APPLY_LINKS "1.3.6.1.4.1.7165.4.3.11"
+
 #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;
index 2e61911b621b2f2319106d9ecbc80e83a422b4cc..112fd22555bfdec7e0ed05b67e731744638fe8c5 100644 (file)
 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID 1.3.6.1.4.1.7165.4.3.8
 #Allocated: DSDB_CONTROL_PASSWORD_HASH_VALUES_OID 1.3.6.1.4.1.7165.4.3.9
 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_OLD_PW_CHECKED_OID 1.3.6.1.4.1.7165.4.3.10
+#Allocated: DSDB_CONTROL_APPLY_LINKS 1.3.6.1.4.1.7165.4.3.11
 
 # Extended 1.3.6.1.4.1.7165.4.4.x
 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1