This is an automated email from the git hooks/post-receive script.
lkrispen pushed a change to branch 389-ds-base-1.3.7
in repository 389-ds-base.
from 5878619 Ticket 48118 - At startup, changelog can be erronously rebuilt
after a normal shutdown
new 584264a Ticket 49443 - scope one searches in 1.3.7 give incorrect results
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
ldap/servers/slapd/back-ldbm/idl_set.c | 5 +++++
1 file changed, 5 insertions(+)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by thread
This is an automated email from the git hooks/post-receive script.
lkrispen pushed a commit to branch 389-ds-base-1.3.7
in repository 389-ds-base.
commit 584264af05beb141eecac777c0c3fa44988e5f22
Author: Ludwig Krispenz <lkrispen(a)redhat.com>
Date: Thu Nov 9 10:20:44 2017 +0100
Ticket 49443 - scope one searches in 1.3.7 give incorrect results
Bug: if a onelevel search is done for an unidexed attribute, the filter test is
skipped
and all children of the search base are returned
Fix: enforce filter test if allids
Reviewed by: Mark, thanks
---
ldap/servers/slapd/back-ldbm/idl_set.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ldap/servers/slapd/back-ldbm/idl_set.c
b/ldap/servers/slapd/back-ldbm/idl_set.c
index ba39ff0..b68e7ab 100644
--- a/ldap/servers/slapd/back-ldbm/idl_set.c
+++ b/ldap/servers/slapd/back-ldbm/idl_set.c
@@ -349,6 +349,11 @@ idl_set_intersect(IDListSet *idl_set, backend *be)
{
IDList *result_list = NULL;
+ if (idl_set->allids) {
+ /* if any component was allids we have to apply the filtertest */
+ slapi_be_set_flag(be, SLAPI_BE_FLAG_DONT_BYPASS_FILTERTEST);
+ }
+
if (idl_set->allids != 0 && idl_set->count == 0) {
/*
* We only have allids, so must be allids.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.