Non Ascii Matching Rule for OpenLDAP

Description

This patch add the feature to match values with or without any diacritic sign. It is fully compliant with OpenLDAP features including indexing.

Usage

ldapsearch -b "dc=foo,dc=bar" "cn=Sébastien"
will match entries with cn including any of the following values :
  • Sébastien
  • Sebastien
  • Sèbastien
  • Sêbastien
  • ...
ldapsearch -b "dc=foo,dc=bar" "cn=François"
will match entries with cn including any of the following values :
  • François
  • Francois

Applying this patch

Download the OpenLDAP 2.3 branch, download the patch and apply it :

patch -p0 < openldap-nonascii-matchingrule-2.3.37.patch 

Also available in: HTML TXT