From dea63aea4203257de8dcd534afed9754b39968c3 Mon Sep 17 00:00:00 2001 From: Juan Gomez Date: Tue, 25 May 1999 22:41:54 +0000 Subject: [PATCH] Normalize attribute name when adding index, otherwise we end with duplicated inconsistent index files (i.e. CN.gdbm and cn.gdbm). --- servers/slapd/back-ldbm/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index 45a8a7eb1c..aec6a9bbe7 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -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 ); -- 2.39.5