From 91abe814d160c4aaf55ce989bacb9c115e159896 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 29 Dec 2004 22:25:46 +0000 Subject: r4397: Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell back to a full search. Volker (This used to be commit 55c9fbd4f4afdde30a0d92bfd31f5c9ebb98c59b) --- source4/lib/ldb/ldb_tdb/ldb_index.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') 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); } -- cgit