From: Andrew Bartlett Date: Wed, 20 Aug 2008 06:18:44 +0000 (+1000) Subject: Use the new SEARCH_FLAG_ANR define X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d122ce2c255124dfb3acf71a3afdf52f06e1b1;p=thirdparty%2Fsamba.git Use the new SEARCH_FLAG_ANR define --- diff --git a/source/dsdb/samdb/ldb_modules/anr.c b/source/dsdb/samdb/ldb_modules/anr.c index 1252c9ee42f..bd494c841b1 100644 --- a/source/dsdb/samdb/ldb_modules/anr.c +++ b/source/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) {