s4-dsdb: added DSDB_CONTROL_DBCHECK
authorAndrew Tridgell <tridge@samba.org>
Thu, 6 Oct 2011 03:20:25 +0000 (14:20 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 6 Oct 2011 03:34:22 +0000 (14:34 +1100)
this will be used for overrides by the dbcheck validator

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/dsdb/pydsdb.c
source4/dsdb/samdb/samdb.h
source4/setup/schema_samba4.ldif

index 18c2f7b72fa1386ad17ef2700cd2e4621147b841..2ff6b824d10c93edc63bf40b0685540d312e6849 100644 (file)
@@ -1151,4 +1151,5 @@ void initdsdb(void)
        ADD_DSDB_STRING(DSDB_SYNTAX_BINARY_DN);
        ADD_DSDB_STRING(DSDB_SYNTAX_STRING_DN);
        ADD_DSDB_STRING(DSDB_SYNTAX_OR_NAME);
+       ADD_DSDB_STRING(DSDB_CONTROL_DBCHECK);
 }
index 4c89f242472f1c5e3594b1eb05dddb7ad1705889..aedd3db4ffd386801bd465b7ef38d4710d21c4a5 100644 (file)
@@ -99,6 +99,9 @@ struct dsdb_control_password_change_status {
 /* passed when we want special behaviour for partial replicas */
 #define DSDB_CONTROL_PARTIAL_REPLICA "1.3.6.1.4.1.7165.4.3.18"
 
+/* passed when we want special behaviour for dbcheck */
+#define DSDB_CONTROL_DBCHECK "1.3.6.1.4.1.7165.4.3.19"
+
 struct dsdb_control_password_change {
        const struct samr_Password *old_nt_pwd_hash;
        const struct samr_Password *old_lm_pwd_hash;
index 496a73296e71679b896a86c6aff563fcdc6b9b0c..bfa6dd094a6ce6b270c3f649355bde721b59eff8 100644 (file)
 #Allocated: LDB_CONTROL_PROVISION_OID 1.3.6.1.4.1.7165.4.3.16
 #Allocated: DSDB_CONTROL_NO_GLOBAL_CATALOG 1.3.6.1.4.1.7165.4.3.17
 #Allocated: DSDB_CONTROL_PARTIAL_REPLICA 1.3.6.1.4.1.7165.4.3.18
+#Allocated: DSDB_CONTROL_DBCHECK 1.3.6.1.4.1.7165.4.3.19
 
 # 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