Red Hat Bugzilla – Bug 177731
Set access rules not working in OpenLDAP 2.2.13
Last modified: 2015-01-07 19:11:23 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8) Gecko/20051111 Firefox/1.5
Description of problem:
Set based access rules are not working with current OpenLDAP version packaged in RHEL4 (2.2.13-4), they are simply ignored.
For example, the following rule does not work :
access to dn.regex="[^,]+,ou=functions,(.+),dc=root$"
by set="user/fullAccess & [TRUE]" read
This bug was fixed in the official OpenLDAP 2.2.16 release,
in the servers/slapd/sets.c file, see :
I backported this patch in OpenLDAP 2.2.13 and rebuilt the RPM. We checked
that this new RPM actually fixes the issue.
See attached file for exact patch content.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 123167 [details]
Backport set rules to OpenLDAP 2.2.13
Created attachment 123168 [details]
New spec file for ACL set patch
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.