[389-devel] Pleaes review: [Bug 560827] Admin Server templates: DistinguishName validation fails

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

 



Summary: Admin Server templates: DistinguishName validation fails

https://bugzilla.redhat.com/show_bug.cgi?id=560827

Description of problem:
Some template file contains double quotes in the DN string, which
are not escaped.
Sample broken entry in 01nsroot.ldif.tmpl
dn: ou="uid=%as_uid%, ou=Administrators, ou=TopologyManagement,
o=NetscapeRoot",ou=UserPreferences, ou=%domain%, o=NetscapeRoot
objectClass: top
objectClass: organizationalUnit
aci: (targetattr=*)(version 3.0; acl "UserDNControl"; allow (all)
userdnattr="creatorsname";)
ou: uid=%as_uid%, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot

Related bug:
https://bugzilla.redhat.com/show_bug.cgi?id=555577
555577 -  Syntax validation fails for "ou=NetscapeRoot" tree

Files:

   admserv/schema/ldif/00nsroot_backend.ldif.tmpl
   admserv/schema/ldif/01nsroot.ldif.tmpl
   admserv/schema/ldif/10dsdata.ldif.tmpl
   admserv/schema/ldif/10rm_dsdata.ldif.tmpl
   admserv/schema/ldif/20asdata.ldif.tmpl

Fix Description: Escaping double quotes '"' appeared in the DN string.

Tests: setup-ds-admin.pl successfully installs the Configuration Directory
Server.  "o=netscaperoot" and its subtree is able to expand in the Console.

[Proposed Patch]
 -->  (https://bugzilla.redhat.com/attachment.cgi?id=388163)
git patch file




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
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