From f310142d2cbf3e6967311547d3f54783cae458f4 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 22 Jul 2001 00:32:58 +0000 Subject: [PATCH] Use DN normalize --- servers/slapd/schema_init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 308d46fb6e..303a620cc3 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -252,12 +252,8 @@ dnNormalize( if ( val->bv_len != 0 ) { char *dn; -#ifdef USE_DN_NORMALIZE out = ber_bvstr( UTF8normalize( val->bv_val, UTF8_CASEFOLD ) ); -#else - out = ber_bvdup( val ); - ldap_pvt_str2upper( out->bv_val ); -#endif + dn = dn_validate( out->bv_val ); if( dn == NULL ) { -- 2.39.5