From: Howard Chu Date: Sat, 9 Apr 2005 09:59:40 +0000 (+0000) Subject: ITS#3616 skip naming checks for entry with zero-length DN X-Git-Tag: OPENLDAP_AC_BP~951 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c0cb6a92426031cf53df6d6603a42032df4a0fd;p=openldap ITS#3616 skip naming checks for entry with zero-length DN --- diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index 0cc2b886ed..253849d378 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -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 */