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

Re: commit: ldap/servers/slapd dn.c filter.c filterentry.c matchedValues.c mra.c proto-slap.h result.c slap.h

ando@OpenLDAP.org writes:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Log Message:
- added the capability to filter based on hasSubordinate attribute to back-bdb, back-ldbm and back-sql (the latter with limitations);
- added handling of ":dn" attributes to extended rfc2254 filters and to matched value filter

These features need #define SLAP_X_FILTER_HASSUBORDINATES and
SLAP_X_MRA_MATCH_DNATTRS; I've temporarily defined them
in proto-slap.h (any better place?) because they need
to be visible to a number of files.

- altered the behavior of get_mra() when a matching rule is given:
now it checks whether it is compatible with the attribute syntax
and, in case it is, the given mr is used. In case of no type, the check is delayed when filtering

This needs review by someone that knows the details of match rules.
It looks fine to me (in this case, we may trim the #if 1/#else stuff).

Thanks, Ando.
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati