1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r4397: Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell

back to a full search.

Volker
(This used to be commit 55c9fbd4f4afdde30a0d92bfd31f5c9ebb98c59b)
This commit is contained in:
Volker Lendecke 2004-12-29 22:25:46 +00:00 committed by Gerald (Jerry) Carter
parent a89f6df4a9
commit 91abe814d1

View File

@ -526,6 +526,7 @@ static int ldb_index_filter(struct ldb_module *module, struct ldb_parse_tree *tr
return -1; return -1;
} }
ret = 0;
if (ltdb_message_match(module, &msg, tree, base, scope) == 1) { if (ltdb_message_match(module, &msg, tree, base, scope) == 1) {
ret = ltdb_add_attr_results(module, &msg, attrs, &count, res); ret = ltdb_add_attr_results(module, &msg, attrs, &count, res);
} }