RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1014831 - slapo-constraint causes modify operations to fail
Summary: slapo-constraint causes modify operations to fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openldap
Version: 6.4
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Synacek
QA Contact: David Spurek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-02 21:27 UTC by Arpit Tolani
Modified: 2018-12-09 17:12 UTC (History)
5 users (show)

Fixed In Version: openldap-2.4.39-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 04:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch slapo-constraint -- include upstream fixes (2.53 KB, patch)
2013-11-13 10:22 UTC, Jan Synacek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1426 0 normal SHIPPED_LIVE openldap bug fix and enhancement update 2014-10-14 01:06:20 UTC

Description Arpit Tolani 2013-10-02 21:27:28 UTC
Description of problem:
When the constraint overlay is enabled and the restrict parameter is configured, this can cause all modify operations to fail on the affected entries.


Version-Release number of selected component (if applicable):
openldap-servers-2.4.23-26

How reproducible:
100%

Steps to reproduce:
- install openldap-servers-2.4.23-26 or later
- enable the constraint overlay
- configure a constraint attribute with the restrict parameter set. Example:
uid regex ^[[:alnum:]-]+$  restrict="ldap:///ou=people,dc=example,dc=com??sub?(objectClass=inetOrgPerson)"
- add an entry which is included in the restriction set in the constraint, and which contains the attribute (uid in the example). Example: uid=tuser,ou=people,dc=exanoke,dc=com
- try to add a different attribute. I have tested with carLicense. Adding the attribute fails.
- if the constraint is removed, carLicense is added and the constraint on uid is enabled again, carLicense cannot be modified.

Actual results:
all modify options fails.

Expected results:


Additional info:

http://www.openldap.org/its/index.cgi?findid=7168
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=7340;selectid=7340;usearchives=1

Comment 1 Jan Synacek 2013-11-13 10:22:09 UTC
Created attachment 823337 [details]
Patch slapo-constraint -- include upstream fixes

Comment 11 errata-xmlrpc 2014-10-14 04:57:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1426.html


Note You need to log in before you can comment on or make changes to this bug.