Hi,

> One option is to automate the renaming of problematic schema files in
> slapd.scripts-common#migrate_to_slapd_d_style() [1]:
>
> 1. Copy all schema files with a '+' character:
>     for f in '/etc/ldap/schema/*+*'; do cp $f `echo $f | sed -e
> 's/\(.*\)+\(.*\)/\1-\2.slapd-d-migration/'` ; done
>
> 2. Replace the inlude in slapd.conf:
>     sed -e 's/\(include.*\)+\(.*\.schema\)/\1-\2.slapd-d-migration/'
> /etc/ldap/slapd.conf > slapd.conf.slapd-d-migration
>
> Is that a suitable approach? Then I'll create a patch.

The question IMHO is: Is that worth the effort?  To make that more
general we should add probably some more disallowed charcters, see [1].

In addition, the schema files shipped with squeeze do not contain the
problematic "+" anymore.  I guess the unfortunate schema name is a
leftover from lenny.  So adding an improved error message might be
enough.

It might be even justified to downgrade the bug.  As the package is
rather complex, I leave the decision to others (maintainers?).

Best regards,

     Andi


[1] http://www.ietf.org/rfc/rfc2253.txt


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to