Commit 6fa6ac66 authored by Howard Chu's avatar Howard Chu
Browse files

Fix dnValidate

parent 1a7d1295
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment