OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Martin Hedenfalk (martinhcvs.openbsd.org)
Date: Wed Nov 03 2010 - 05:33:17 CDT


CVSROOT: /cvs
Module name: src
Changes by: martinhcvs.openbsd.org 2010/11/03 04:33:17

Modified files:
        usr.sbin/ldapd : filter.c ldapd.h search.c

Log message:
Evaluate filters according to the three-valued logic of X.511, as required
by RFC 4511. A filter term can now be evaluated as undefined if the
attribute description is not recognized, the attribute type doesn't define
the appropriate matching rule, or the filtering is not implemented.

This also implements the NOT filter in the query planner.