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

Re: Searching for (objectClass=UNDEFINED)...



Hallvard B Furuseth wrote:
Howard Chu wrote:
Illegal filters are supposed to be ignored; certainly no diagnostic
should be sent back to any client.

Well... I think _illegal_ filters should get a protocolError.

:)

OTOH filtering for unrecognized schema should get no error or
diagnostic, the filter component just evaluates to Undefined (like
False, except Not(Undefined) = Undefined).

Yes. But nothing prevents success from being accompanied by further informative info in the diagnosticMessage field. That's why I asked first. I concur the filter above qualifies as undefined, and should be treated much like other undefined filters. Already fixed in HEAD (ITS#5688).


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
-----------------------------------