I have a fix for this issue when the relay database is configured *after* the relayed one. I'll commit it in a moment. However, this fix does not cure your case, where the virtual database needs to appear *before* the real one, and also does not cure similar issues related, for example, to run-time configuring modules that register controls on a real database (e.g. an overlay), which would not be echoed by the virtual database.
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 -----------------------------------