]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Normalize attribute name when adding index, otherwise we end with duplicated
authorJuan Gomez <gomez@openldap.org>
Tue, 25 May 1999 22:41:54 +0000 (22:41 +0000)
committerJuan Gomez <gomez@openldap.org>
Tue, 25 May 1999 22:41:54 +0000 (22:41 +0000)
inconsistent index files (i.e. CN.gdbm and cn.gdbm).

servers/slapd/back-ldbm/index.c

index 45a8a7eb1c16656acab030751aa8cdd649276d4e..aec6a9bbe7fa9781691d813889e1544b0cdd71da 100644 (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 );