diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-12-29 22:25:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:42 -0500 |
commit | 91abe814d160c4aaf55ce989bacb9c115e159896 (patch) | |
tree | 7e68bee57f4a888cc1c50eea896dcce9ccaa847d | |
parent | a89f6df4a996a60cc433e68857543f6a99da2d01 (diff) | |
download | samba-91abe814d160c4aaf55ce989bacb9c115e159896.tar.gz samba-91abe814d160c4aaf55ce989bacb9c115e159896.tar.bz2 samba-91abe814d160c4aaf55ce989bacb9c115e159896.zip |
r4397: Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell
back to a full search.
Volker
(This used to be commit 55c9fbd4f4afdde30a0d92bfd31f5c9ebb98c59b)
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_index.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c index 8d31a3a81f..01fa4be44b 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_index.c +++ b/source4/lib/ldb/ldb_tdb/ldb_index.c @@ -526,6 +526,7 @@ static int ldb_index_filter(struct ldb_module *module, struct ldb_parse_tree *tr return -1; } + ret = 0; if (ltdb_message_match(module, &msg, tree, base, scope) == 1) { ret = ltdb_add_attr_results(module, &msg, attrs, &count, res); } |