No code change, added a comment warning of a possible future difficulty.

Apparently, we refuse to index ;binary attributes.  That is mostly
bogus.  Whether it is indexable or not depends on whether we know how
to or not, nothing more.  I.e., the existance of indexer and filter
functions for the matching rules that are relevant to the attribute
type.
This commit is contained in:
Julio Sánchez Fernández 2001-10-23 13:35:54 +00:00
parent bf5ea315b6
commit 9752cea92c

View File

@ -87,6 +87,7 @@ value_normalize(
}
/* we only support equality matching of binary attributes */
/* This is suspect, flexible certificate matching will hit this */
if( slap_ad_is_binary( ad ) && usage != SLAP_MR_EQUALITY ) {
*text = "inappropriate binary matching";
return LDAP_INAPPROPRIATE_MATCHING;