[389-devel] Pleaes review: [Bug 560827] Admin Server templates: DistinguishName validation fails
Noriko Hosoi
nhosoi at redhat.com
Tue Feb 2 00:29:19 UTC 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20100201/62c8841a/attachment.bin
More information about the 389-devel
mailing list