From b52246bf2f75e2a4869bce3e474e6c1c81a492b7 Mon Sep 17 00:00:00 2001 From: Dave Craft Date: Tue, 5 Jul 2011 21:17:10 -0500 Subject: NTDSConnection and NTDSA Site setting flags Flags that were missing from flags.h or were incorrectly defined inline to the kcc_topology.c code (and thus unusable elsewhere). These are the NTDSConnection and NTDSDSA Site settings flags. Signed-off-by: Andrew Tridgell --- libds/common/flags.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'libds') diff --git a/libds/common/flags.h b/libds/common/flags.h index a3ed771c4e..714251dff5 100644 --- a/libds/common/flags.h +++ b/libds/common/flags.h @@ -185,6 +185,18 @@ #define DS_FLAG_ATTR_REQ_PARTIAL_SET_MEMBER 0x00000002 #define DS_FLAG_ATTR_IS_CONSTRUCTED 0x00000004 +/* 7.1.1.2.2.1.1 nTDSSiteSettings Object options */ +#define DS_NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED 0x00000001 +#define DS_NTDSSETTINGS_OPT_IS_TOPL_CLEANUP_DISABLED 0x00000002 +#define DS_NTDSSETTINGS_OPT_IS_TOPL_MIN_HOPS_DISABLED 0x00000004 +#define DS_NTDSSETTINGS_OPT_IS_TOPL_DETECT_STALE_DISABLED 0x00000008 +#define DS_NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED 0x00000010 +#define DS_NTDSSETTINGS_OPT_IS_GROUP_CACHING_ENABLED 0x00000020 +#define DS_NTDSSETTINGS_OPT_FORCE_KCC_WHISTLER_BEHAVIOR 0x00000040 +#define DS_NTDSSETTINGS_OPT_IS_RAND_BH_SELECTION_DISABLED 0x00000100 +#define DS_NTDSSETTINGS_OPT_IS_SCHEDULE_HASHING_ENABLED 0x00000200 +#define DS_NTDSSETTINGS_OPT_IS_REDUNDANT_SERVER_TOPOLOGY_ENABLED 0x00000400 + /* 7.1.1.2.2.1.2.1.1 nTDSDSA Object options flags */ #define DS_NTDSDSA_OPT_IS_GC 0x00000001 #define DS_NTDSDSA_OPT_DISABLE_INBOUND_REPL 0x00000002 @@ -240,3 +252,11 @@ #define NTDSCONN_KCC_SERVER_FAILOVER_TOPOLOGY 0x00000080 #define NTDSCONN_KCC_SITE_FAILOVER_TOPOLOGY 0x00000100 #define NTDSCONN_KCC_REDUNDANT_SERVER_TOPOLOGY 0x00000200 + +#define NTDSCONN_OPT_IS_GENERATED 0x00000001 +#define NTDSCONN_OPT_TWOWAY_SYNC 0x00000002 +#define NTDSCONN_OPT_OVERRIDE_NOTIFY_DEFAULT 0x00000004 +#define NTDSCONN_OPT_USE_NOTIFY 0x00000008 +#define NTDSCONN_OPT_DISABLE_INTERSITE_COMPRESSION 0x00000010 +#define NTDSCONN_OPT_USER_OWNED_SCHEDULE 0x00000020 +#define NTDSCONN_OPT_RODC_TOPOLOGY 0x00000040 -- cgit