Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
- openldap-servers package installed, refint overlay set up, refint_nothing option used
- when an entry which is referenced by some of refint_attributes is deleted, the value of the attribute is not replaced by the value in refint_nothing option, but is left untouched
- upstream patch applied to target this issue
- refint_nothing option works as described in documentation
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
- openldap-servers package installed, refint overlay set up, refint_nothing option used
- when an entry which is referenced by some of refint_attributes is deleted, the value of the attribute is not replaced by the value in refint_nothing option, but is left untouched
- upstream patch applied to target this issue
- refint_nothing option works as described in documentation
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-2011-1514.html
Created attachment 515097 [details] Slapd configuration file Description of problem: Overlay refint option refint_nothing doesn't function correctly. After delete the last value, an arbitrary value should be used as a placeholder. Attribute doesn't have an arbitrary value, but last value before delete. Version-Release number of selected component (if applicable): openldap-servers-2.4.23-15.el6 How reproducible: always Steps to Reproduce: 1.slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/ (slapd.conf is in attachement) 2.add entry dn: dc=my-domain,dc=com objectClass: dcObject objectClass: organization dc: my-domain o: my-domain description: my-domain dn: cn=Manager,dc=my-domain,dc=com objectClass: organizationalRole cn: Manager description: Directory Manager dn: ou=People,dc=my-domain,dc=com objectClass: organizationalUnit ou: People dn: uid=ldap1,ou=People,dc=my-domain,dc=com cn: ldap1 objectClass: account objectClass: posixAccount objectClass: top uid: ldap1 uidNumber: 10001 gidNumber: 10001 homeDirectory: /home/ldap/ldap1 gecos: ldap1_user loginShell: /bin/sh userPassword: {SSHA}vXxC+eHHxf4p16273jJfK1xGrMSn+aUT dn: uid=ldap2,ou=People,dc=my-domain,dc=com cn: ldap2 objectClass: account objectClass: posixAccount objectClass: top uid: ldap2 uidNumber: 10002 gidNumber: 10002 homeDirectory: /home/ldap/ldap2 gecos: uid=ldap1,ou=People,dc=my-domain,dc=com loginShell: /bin/sh userPassword: {SSHA}vXxC+eHHxf4p16273jJfK1xGrMSn+aUT 3.ldapdelete -x -D cn=Manager,dc=my-domain,dc=com -w x uid=ldap1,ou=People,dc=my-domain,dc=com 4.ldapsearch -LLL -b dc=my-domain,dc=com -x "(uid=ldap2)" gecos Actual results: dn: uid=ldap2,ou=People,dc=my-domain,dc=com gecos: uid=ldap1,ou=People,dc=my-domain,dc=com Expected results: dn: uid=ldap2,ou=People,dc=my-domain,dc=com gecos: cn=missing,dc=my-domain,dc=com Additional info: When option refint_nothing missing, the attribute gecos is correctly missing in entry uid=ldap2,ou=People,dc=my-domain,dc=com.