From 0c0cb6a92426031cf53df6d6603a42032df4a0fd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 9 Apr 2005 09:59:40 +0000 Subject: [PATCH] ITS#3616 skip naming checks for entry with zero-length DN --- servers/slapd/schema_check.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5