summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDave Craft <wimberosa@gmail.com>2011-11-03 12:33:38 -0500
committerAndrew Tridgell <tridge@samba.org>2011-11-07 10:02:45 +1100
commita5d6e427c5a60a0638d952c56e26cca421d3af9c (patch)
tree2725be4fd131689dde253e1c8495fc4e29aa3341 /source4
parent0c1669ee4b1783db98b0375dd5e4ed0dfc3e10c5 (diff)
downloadsamba-a5d6e427c5a60a0638d952c56e26cca421d3af9c.tar.gz
samba-a5d6e427c5a60a0638d952c56e26cca421d3af9c.tar.bz2
samba-a5d6e427c5a60a0638d952c56e26cca421d3af9c.zip
python dsdb flag addtions (NTDSSETTINGS, NTDSCONN)
Add missing flags present in C code base to python code base dsdb/pydsdb.c INSTANCE_TYPE... DS_NTDSSETTINGS_OPT... NTDSCONN_OPT... These are consumed by the python KCC scripts Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/pydsdb.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index 2ff6b824d1..57e08cca90 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -1084,6 +1084,14 @@ void initdsdb(void)
ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2008);
ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2008_R2);
+ /* nc replica flags */
+ ADD_DSDB_FLAG(INSTANCE_TYPE_IS_NC_HEAD);
+ ADD_DSDB_FLAG(INSTANCE_TYPE_UNINSTANT);
+ ADD_DSDB_FLAG(INSTANCE_TYPE_WRITE);
+ ADD_DSDB_FLAG(INSTANCE_TYPE_NC_ABOVE);
+ ADD_DSDB_FLAG(INSTANCE_TYPE_NC_COMING);
+ ADD_DSDB_FLAG(INSTANCE_TYPE_NC_GOING);
+
/* "systemFlags" */
ADD_DSDB_FLAG(SYSTEM_FLAG_CR_NTDS_NC);
ADD_DSDB_FLAG(SYSTEM_FLAG_CR_NTDS_DOMAIN);
@@ -1121,6 +1129,17 @@ void initdsdb(void)
ADD_DSDB_FLAG(DS_FLAG_ATTR_REQ_PARTIAL_SET_MEMBER);
ADD_DSDB_FLAG(DS_FLAG_ATTR_IS_CONSTRUCTED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_TOPL_CLEANUP_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_TOPL_MIN_HOPS_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_TOPL_DETECT_STALE_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_GROUP_CACHING_ENABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_FORCE_KCC_WHISTLER_BEHAVIOR);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_RAND_BH_SELECTION_DISABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_SCHEDULE_HASHING_ENABLED);
+ ADD_DSDB_FLAG(DS_NTDSSETTINGS_OPT_IS_REDUNDANT_SERVER_TOPOLOGY_ENABLED);
+
ADD_DSDB_FLAG(DS_NTDSDSA_OPT_IS_GC);
ADD_DSDB_FLAG(DS_NTDSDSA_OPT_DISABLE_INBOUND_REPL);
ADD_DSDB_FLAG(DS_NTDSDSA_OPT_DISABLE_OUTBOUND_REPL);
@@ -1138,6 +1157,14 @@ void initdsdb(void)
ADD_DSDB_FLAG(NTDSCONN_KCC_SITE_FAILOVER_TOPOLOGY);
ADD_DSDB_FLAG(NTDSCONN_KCC_REDUNDANT_SERVER_TOPOLOGY);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_IS_GENERATED);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_TWOWAY_SYNC);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_OVERRIDE_NOTIFY_DEFAULT);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_USE_NOTIFY);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_DISABLE_INTERSITE_COMPRESSION);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_USER_OWNED_SCHEDULE);
+ ADD_DSDB_FLAG(NTDSCONN_OPT_RODC_TOPOLOGY);
+
/* GPO policy flags */
ADD_DSDB_FLAG(GPLINK_OPT_DISABLE);
ADD_DSDB_FLAG(GPLINK_OPT_ENFORCE);