mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix dnValidate
This commit is contained in:
parent
1a7d129585
commit
6fa6ac6676
@ -76,8 +76,7 @@ LDAPDN_validate( LDAPDN *dn )
|
||||
/*
|
||||
* Replace attr oid/name with the canonical name
|
||||
*/
|
||||
free( ava->la_attr.bv_val );
|
||||
ber_dupbv( &ava->la_attr, &ad->ad_cname );
|
||||
ava->la_attr = ad->ad_cname;
|
||||
|
||||
validate = ad->ad_type->sat_syntax->ssyn_validate;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user