s4-samldb: Do not allow deletion of objects with RID < 1000
[mat/samba.git] / source4 / dsdb / samdb / samdb.h
index 7605c65cdd77299bdcbe52116f578292e33b9fa6..7f77d4e3827c2b5a424b4606029e4a8977f9475a 100644 (file)
@@ -244,6 +244,7 @@ struct dsdb_extended_sec_desc_propagation_op {
 };
 
 #define DSDB_ACL_CHECKS_DIRSYNC_FLAG 0x1
+#define DSDB_SAMDB_MINIMUM_ALLOWED_RID   1000
 
 #define DSDB_METADATA_SCHEMA_SEQ_NUM   "SCHEMA_SEQ_NUM"
 #endif /* __SAMDB_H__ */