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.

Bug 918707

Summary: dn normalization must handle multiple space characters in attributes
Product: Red Hat Enterprise Linux 7 Reporter: Nathan Kinder <nkinder>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: amsharma, jgalipea, nhosoi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.1.2-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:41:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan Kinder 2013-03-06 18:15:44 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/529

Comment 1 Noriko Hosoi 2013-04-09 22:05:39 UTC
1) TET: bob/add trac529

2) Upgrade test
2-1) install 389-ds-base-1.3.0
     run ldapmodify -af <attached test.ldif>
2-2) install 389-ds-base-1.3.1
     run setup-ds.pl -u
2-3) if the upgrade is successful and duplicated DNs are renamed, the bug is verified.
================================================================
Description: The upgrade script 80upgradednformat.pl called
from "setup-ds.pl -u" checks the duplicated DNs and rename them
if necessary.

For instance, if there are 2 DNs:
  cn=test user0,dc=example,dc=com (entryid: N)
  cn=test    user0,dc=example,dc=com (entryid: M)
then the upgrade script/tool modifies the second one as follows:
  cn=test user0 M,dc=example,dc=com (entryid: M)
and the original "cn: test    user0" is kept in the attribute.
The modified result is reported in "setup-ds.pl -u" as follows:
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  Duplicated DN(s) were found and renamed.
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  Renamed entry IDs are listed in /var/lib/dirsrv/slapd-ID/ldif/userRoot_conflict.txt.
Contents of the conflict.txt:
  prinary entry ID: duplicated entry IDs
  13:16 18
  14:17
================================================================

Comment 2 Rich Megginson 2013-10-01 23:25:25 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata).  When the errata is created, the bugs should be automatically moved back to ON_QA.

Comment 6 Amita Sharma 2014-02-07 07:09:38 UTC
Based on https://bugzilla.redhat.com/show_bug.cgi?id=918707#c5 marking the bug as VERIFIED and qe test coverage + . 
Automation done under TET: bob/add trac529

Comment 7 Ludek Smid 2014-06-13 12:41:24 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.