mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#3616 skip naming checks for entry with zero-length DN
This commit is contained in:
parent
d9df909ba4
commit
0c0cb6a924
@ -739,6 +739,10 @@ entry_naming_check(
|
||||
ber_len_t cnt;
|
||||
int rc = LDAP_SUCCESS;
|
||||
|
||||
if ( BER_BVISEMPTY( &e->e_name )) {
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get attribute type(s) and attribute value(s) of our RDN
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user