Michael,
I have a patch ftp://ftp.openldap.org/incoming/pierangelo-masarati-x-subst-2008-09-16.patch that implements support for "ldapsyntax" (slapd.conf) and "olcLdapSyntaxes" (back-config) in order to allow run-time configuration of syntaxes that have NULL handlers and thus need to have the X-SUBST extension in place. The patch is very intrusive, that's why I didn't commit it right now, as I'd like someone to give it a look first. It applies to HEAD as of right now. Please test and report. My current test configuration is something like
ldapsyntax ( <my-syntax-oid> NAME 'MySyntax' DESC 'this is the description' X-SUBST 1.3.6.1.4.1.1466.115.121.1.15 )
followed by
attributeType ( <my-at-oid> NAME 'MyAttr' SYNTAX <my-syntax-oid> )
It seems to work just fine, although I didn't check many features like deletion of schema via back-config and so.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it -----------------------------------