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

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

Pierangelo Masarati wrote:
... returns success with the text "value does not conform to assertion
syntax"; is this the intended behavior, or should the filter error go
completely unnoticed, and the text rather be logged, or what?

The current behavior seems to be a consequence of

	servers/slapd/ava.c 1.45 ->  1.46 (by hyc)

returning LDAP_SUCCESS instead of rc, without intentionally?) clearing text.

Probably the text should be NULLed out. Illegal filters are supposed to be ignored; certainly no diagnostic should be sent back to any client.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/