Commit 9cdeecd2 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Ensure that substrings are normalized properly by the routines

provided with the equality matching rule.
parent 4ed66f93
......@@ -176,7 +176,8 @@ value_normalize(
mr = ad->ad_type->sat_ordering;
break;
case SLAP_MR_SUBSTR:
mr = ad->ad_type->sat_substr;
/* normalize substrings per the the equality rule */
mr = ad->ad_type->sat_equality;
break;
case SLAP_MR_EXT:
default:
......@@ -244,7 +245,8 @@ value_validate_normalize(
mr = ad->ad_type->sat_ordering;
break;
case SLAP_MR_SUBSTR:
mr = ad->ad_type->sat_substr;
/* normalize substrings per the the equality rule */
mr = ad->ad_type->sat_equality;
break;
case SLAP_MR_EXT:
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment