From: Kurt Zeilenga Date: Sun, 22 Jul 2001 00:32:58 +0000 (+0000) Subject: Use DN normalize X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f310142d2cbf3e6967311547d3f54783cae458f4;p=openldap Use DN normalize --- 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 ) {