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:


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.