]> git.sur5r.net Git - openldap/commitdiff
Use DN normalize
authorKurt Zeilenga <kurt@openldap.org>
Sun, 22 Jul 2001 00:32:58 +0000 (00:32 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 22 Jul 2001 00:32:58 +0000 (00:32 +0000)
servers/slapd/schema_init.c

index 308d46fb6ef482eec450aff84e9fcff120ce9cd5..303a620cc36b6603dd8f9b3e1dc90da887ccd7d4 100644 (file)
@@ -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 ) {