git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae502f9
)
Use the new SEARCH_FLAG_ANR define
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 20 Aug 2008 06:18:44 +0000
(16:18 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 20 Aug 2008 06:18:44 +0000
(16:18 +1000)
source/dsdb/samdb/ldb_modules/anr.c
patch
|
blob
|
history
diff --git
a/source/dsdb/samdb/ldb_modules/anr.c
b/source/dsdb/samdb/ldb_modules/anr.c
index 1252c9ee42f1ae2c65fbb82dd875baae34101850..bd494c841b14ded6fc8a097bf3e69ea1e1b40088 100644
(file)
--- 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) {