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

Re: (ITS#4786) back-sql searching with dn attribute selected causes object class violation



robb@wtg.cw.com wrote:
> Pierangelo Masarati wrote:
>> In any case, since the behavior you report is very data and meta-data 
>> dependent, you don't provide enough info for debugging, and at a very 
>> first glance this is not indicative of a software bug.
> 
> Pierangelo,
> 
> the problem is indeed with the meta-data:
> 
> the object at the root of the sql tree "dc=sql,dc=example,dc=org" was 
> defined purely as dcObject, it needs a structural objectClass in order 
> to be valid.
> 
> If we define it as an organizationalUnit and dcObject (using 
> ldap_entry_objclasses) then all works as expected.
> 
> Oddly doing the opposite doesn't seem to work.

Because somewhere a constraint stepped in, which requires objectClasses 
in ldap_objectclasses to be structural; it makes sense, all in all.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
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
------------------------------------------