summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-05-03 16:47:56 +0200
committerNadezhda Ivanova <nivanova@samba.org>2010-05-03 16:47:56 +0200
commite2e39117bcea5264c913383ccc68e23307264c63 (patch)
tree0e4b694092f3791707ef4904adf506691a02c899
parent9cc10e6a5742f09261f01a2c0b3a94b7b772e573 (diff)
downloadsamba-e2e39117bcea5264c913383ccc68e23307264c63.tar.gz
samba-e2e39117bcea5264c913383ccc68e23307264c63.tar.bz2
samba-e2e39117bcea5264c913383ccc68e23307264c63.zip
Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
-rw-r--r--libds/common/flags.h3
-rw-r--r--source4/dsdb/schema/schema_filtered.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/libds/common/flags.h b/libds/common/flags.h
index 67811d06aa..6a29b1b510 100644
--- a/libds/common/flags.h
+++ b/libds/common/flags.h
@@ -188,9 +188,6 @@
#define DS_FLAG_ATTR_REQ_PARTIAL_SET_MEMBER 0x00000002
#define DS_FLAG_ATTR_IS_CONSTRUCTED 0x00000004
-/* sa->systemFlagsEx on attributes */
-#define DS_FLAG_ATTR_IS_CRITICAL 0x00000001
-
/* 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
diff --git a/source4/dsdb/schema/schema_filtered.c b/source4/dsdb/schema/schema_filtered.c
index 304160d473..1582aee8fd 100644
--- a/source4/dsdb/schema/schema_filtered.c
+++ b/source4/dsdb/schema/schema_filtered.c
@@ -88,7 +88,7 @@ bool dsdb_attribute_is_attr_in_filtered_replica(struct dsdb_attribute *attribute
{
int i, size = sizeof(never_in_filtered_attrs)/sizeof(char *);
if (attribute->systemOnly ||
- attribute->schemaFlagsEx & DS_FLAG_ATTR_IS_CRITICAL) {
+ attribute->schemaFlagsEx & SCHEMA_FLAG_ATTR_IS_CRITICAL) {
return false;
}
if (attribute->systemFlags & (DS_FLAG_ATTR_NOT_REPLICATED |