[389-devel] Please review: [389 Project] #529: dn normalization must handle multiple space characters in attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/529

https://fedorahosted.org/389/attachment/ticket/529/0001-Ticket-529-dn-normalization-must-handle-multiple-spa.2.patch

 Bug description: This is the second half of the fix for #529.
 The first half fixed the DN normalization which used to allow
 DNs where only the number of spaces are different.  Now it is
 rejucted as expected. But it breaks the backward compatibility.

 Fix 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

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux