Normalize attribute name when adding index, otherwise we end with duplicated

inconsistent index files (i.e. CN.gdbm and cn.gdbm).
This commit is contained in:
Juan Gomez 1999-05-25 22:41:54 +00:00
parent 4c48df91d3
commit dea63aea42

View File

@ -231,7 +231,7 @@ index_add_values(
Debug( LDAP_DEBUG_TRACE, "=> index_add_values( \"%s\", %ld )\n", type,
id, 0 );
attr_normalize(type);
attr_masks( be->be_private, type, &indexmask, &syntax );
if ( indexmask == 0 ) {
return( 0 );