Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
authorNadezhda Ivanova <nivanova@samba.org>
Mon, 3 May 2010 14:47:56 +0000 (16:47 +0200)
committerNadezhda Ivanova <nivanova@samba.org>
Mon, 3 May 2010 14:47:56 +0000 (16:47 +0200)
libds/common/flags.h
source4/dsdb/schema/schema_filtered.c

index 67811d06aac5d9cc50d4a4cf0fe4f42ede64b0a3..6a29b1b5100eec06da24f6cc56ffa649dd31aa56 100644 (file)
 #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
index 304160d47305116e2bf64ca321c773c5e9c0755c..1582aee8fd17ed8826a26a98ca7dfbde2ebda3cc 100644 (file)
@@ -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 |