[ ispman-Bugs-1040543 ] ispman.ldifupdate fails with "unsupported URL type"
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1040543, was opened at 2004-10-05 12:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108390&aid=1040543&group_id=8390 Category: upgrade Group: HEAD Status: Open Resolution: None Priority: 5 Submitted By: Joerg Delker (jdelker) Assigned to: Joerg Delker (jdelker) Summary: ispman.ldifupdate fails with "unsupported URL type" Initial Comment: This is a real nasty one: Several users got trapped with a "unsupported URL type" error message when upgrading/checking their LDAP data with ispman.ldifupdate. As it turned out this has two causes: 1) The entry "dn: ispmanModule=dns_vars, ou=conf, %ldapBaseDN%%" which was added to your LDAP on installation (up to ispman 1.2) is bogus. It contains a non-RFC compliant attribute with a html tag at the beginning:"description: <br>These are ..." Regarding RFC 2849 such value must be encoded. Well, this <br> tag is superfluous anyway, so this was removed earlier already. 2) The current implementation of perl-ldap (0.3202) contains a bug with LDIF parsing, which causes LDIF.pm to bail out on the above entry/attrbute with a "unsupported url type". This is due to the fact, that the parser falsely recognises "description: <" as a url (which would be correctly something like "attr:<". I already addressed this bug to the maintainer of perl-ldap and hopefully this will be fixed in a future version of perl-ldap. Resolution: Until 2) is fixed and available you may want to repair that "broken" attribute in your LDAP manually (remove <br> from the beginning of attribute). Besides that ispman.ldifupdate will contain logic for updating the confVars, too ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108390&aid=1040543&group_id=8390 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl