Changed to use e_ndn and it's length.
Changes included in OpenLDAP 1.2 Release Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2
+ Fixed indexing of normalized dn length bug (ITS#189)
Changes included in OpenLDAP 1.2.2
CVS Tag: OPENLDAP_REL_ENG_1_2_2
* with index_add_values() call
*/
- bv.bv_val = ch_strdup( e->e_dn );
+ bv.bv_val = ch_strdup( e->e_ndn );
bv.bv_len = strlen( bv.bv_val );
- (void) dn_normalize_case( bv.bv_val );
bvals[0] = &bv;
bvals[1] = NULL;
}
Debug( LDAP_DEBUG_TRACE, "<= index_add( %ld, \"%s\" ) 0\n", e->e_id,
- e->e_dn, 0 );
+ e->e_ndn, 0 );
return( 0 );
}