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

Re: commit: ldap/servers/slapd/back-ldap search.c



ando@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-ldap

Modified Files:
	search.c  1.273 ->  1.274

Log Message:
handle undefined objectClass values in search filters (ITS#6814)

Hmm. ava.c has been using the "(?attr=value)" format and SLAPD_FILTER_UNDEFINED flag since 2006. Munging ought to handle any attr=value, not just "(?objectclass=)".

Seems like we should just add a flag to filter2bv that tells it to generate a regular filter string that libldap will parse and forget about this other munging process.

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