mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
same as for back-meta
This commit is contained in:
parent
328046248b
commit
b063a50891
@ -406,7 +406,17 @@ ldap_send_entry(
|
||||
ldap_back_dn_massage( li, &bdn, &ent.e_name, 0, 0 );
|
||||
#endif /* !ENABLE_REWRITE */
|
||||
|
||||
dnNormalize2( NULL, &ent.e_name, &ent.e_nname );
|
||||
/*
|
||||
* Note: this may fail if the target host(s) schema differs
|
||||
* from the one known to the meta, and a DN with unknown
|
||||
* attributes is returned.
|
||||
*
|
||||
* FIXME: should we log anything, or delegate to dnNormalize2?
|
||||
*/
|
||||
if ( dnNormalize2( NULL, &ent.e_name, &ent.e_nname ) != LDAP_SUCCESS ) {
|
||||
return;
|
||||
}
|
||||
|
||||
ent.e_id = 0;
|
||||
ent.e_attrs = 0;
|
||||
ent.e_private = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user