mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
Use DN normalize
This commit is contained in:
parent
d326f96c32
commit
f310142d2c
1 changed files with 1 additions and 5 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue