Quanah Gibson-Mount wrote:
I think enabling back-meta should force the enabling of back-ldap. If someone tries to force building back-meta without back-ldap, then configure should throw an error and fail to run.
What's odd is that to use back-meta when built as module, not only one needs to build back-ldap as well, but, in case back-ldap is also built as module, it needs to be loaded before back-meta. Too many requirements, in my opinion to make sense. I see two(/three) solutions:
1) duplicate the code in the two backends (that's what I tried hard to avoid, as it was a maintenance nightmare)
2) move the common code into the core of slapd (bad, since most of the times it's specific to the two proxy backends)
3) tie the two backends together (the dependence is not so tight, though)
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 Email: pierangelo.masarati@sys-net.it ---------------------------------------