summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-04 11:07:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:49 -0500
commit524dca68cf39c86f5e135f4206687ac7d74a416e (patch)
tree89876c1cb5bd8a67e340db26afee2b515a895b31 /source4/dsdb
parentbb6f3ece264c17a421d0e26332c2b9d6060b2d4b (diff)
downloadsamba-524dca68cf39c86f5e135f4206687ac7d74a416e.tar.gz
samba-524dca68cf39c86f5e135f4206687ac7d74a416e.tar.bz2
samba-524dca68cf39c86f5e135f4206687ac7d74a416e.zip
r20027: restore instanceType and systemFlags values, which got lost in
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_4_0/source/dsdb/common/flags.h?p1=branches%2FSAMBA_4_0%2Fsource%2Finclude%2Fads.h&rev=17930&r1=15511&r2=17930 metze (This used to be commit 5da9dedece20ca21c0395fdcdffddff5948f7dc5)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/common/flags.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source4/dsdb/common/flags.h b/source4/dsdb/common/flags.h
index d200af8e5f..3f3a364f4e 100644
--- a/source4/dsdb/common/flags.h
+++ b/source4/dsdb/common/flags.h
@@ -95,3 +95,25 @@
#define GTYPE_DISTRIBUTION_GLOBAL_GROUP 0x00000002 /* 2 */
#define GTYPE_DISTRIBUTION_DOMAIN_LOCAL_GROUP 0x00000004 /* 4 */
#define GTYPE_DISTRIBUTION_UNIVERSAL_GROUP 0x00000008 /* 8 */
+
+#define INSTANCE_TYPE_IS_NC_HEAD 0x00000001
+#define INSTANCE_TYPE_UNINSTANT 0x00000002
+#define INSTANCE_TYPE_WRITE 0x00000004
+#define INSTANCE_TYPE_NC_ABOVE 0x00000008
+#define INSTANCE_TYPE_NC_COMING 0x00000010
+#define INSTANCE_TYPE_NC_GOING 0x00000020
+
+#define SYSTEM_FLAG_CR_NTDS_NC 0x00000001
+#define SYSTEM_FLAG_CR_NTDS_DOMAIN 0x00000002
+#define SYSTEM_FLAG_CR_NTDS_NOT_GC_REPLICATED 0x00000004
+#define SYSTEM_FLAG_SCHEMA_BASE_OBJECT 0x00000010
+#define SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE 0x02000000
+#define SYSTEM_FLAG_DOMAIN_DISALLOW_MOVE 0x04000000
+#define SYSTEM_FLAG_DOMAIN_DISALLOW_RENAME 0x08000000
+#define SYSTEM_FLAG_CONFIG_ALLOW_LIMITED_MOVE 0x10000000
+#define SYSTEM_FLAG_CONFIG_ALLOW_MOVE 0x20000000
+#define SYSTEM_FLAG_CONFIG_ALLOW_ERNAME 0x20000000
+#define SYSTEM_FLAG_DISALLOW_DELTE 0x80000000
+
+#define DS_BEHAVIOR_WIN2000 0
+#define DS_BEHAVIOR_WIN2003 2