[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4785) back-sql objectclass searches fail unless there is data in ldap_entry_objclasses

robb@wtg.cw.com wrote:
> objectclass searches fail (with back-sql/mysql) if there is no data in the
> ldap_entry_objclasses table. Just a simple dummy entry like this is enough to
> fix the problem.
I see.  A solution I see would be to use UNION to merge the results of a 
query with and one without the outer join to ldap_entry_objclasses.  
This, however, requires some extensive code manipulation, and likely 
would be much less efficient, so I believe the workaround of having one 
row in ldap_entry_objclasses is better.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it