summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-20 16:18:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-20 16:18:44 +1000
commitb4ba27d7dbda31819e38ca5b87ff718c3b417963 (patch)
tree200101545d00810d277459fa15b8afb63049219c
parente7db2325e9beaf4a329c4b7274c998b5952073b6 (diff)
downloadsamba-b4ba27d7dbda31819e38ca5b87ff718c3b417963.tar.gz
samba-b4ba27d7dbda31819e38ca5b87ff718c3b417963.tar.bz2
samba-b4ba27d7dbda31819e38ca5b87ff718c3b417963.zip
Use the new SEARCH_FLAG_ANR define
(This used to be commit 07d122ce2c255124dfb3acf71a3afdf52f06e1b1)
-rw-r--r--source4/dsdb/samdb/ldb_modules/anr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/anr.c b/source4/dsdb/samdb/ldb_modules/anr.c
index 1252c9ee42..bd494c841b 100644
--- a/source4/dsdb/samdb/ldb_modules/anr.c
+++ b/source4/dsdb/samdb/ldb_modules/anr.c
@@ -146,7 +146,7 @@ struct ldb_parse_tree *anr_replace_callback(TALLOC_CTX *mem_ctx,
op = LDB_OP_SUBSTRING;
}
for (cur = schema->attributes; cur; cur = cur->next) {
- if (!(cur->searchFlags & 0x4)) continue;
+ if (!(cur->searchFlags & SEARCH_FLAG_ANR)) continue;
match_tree = make_match_tree(module, mem_ctx, op, cur->lDAPDisplayName, match);
if (tree) {