[Pkg-openldap-devel] Bug#603544: summary

Andreas B. Mundt andi.mundt at web.de
Sun Nov 25 12:20:16 UTC 2012


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



More information about the Pkg-openldap-devel mailing list