mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 11:59:45 -05:00
ITS#7420 re-fix slapcommon.c
bconfig requires RDN to pass schema check
This commit is contained in:
parent
7c55484ee1
commit
7debe76f6c
1 changed files with 3 additions and 3 deletions
|
|
@ -1177,11 +1177,11 @@ slap_tool_entry_check(
|
|||
op->o_bd = be;
|
||||
|
||||
if ( (slapMode & SLAP_TOOL_NO_SCHEMA_CHECK) == 0) {
|
||||
int rc = entry_schema_check( op, e, manage, 1, NULL,
|
||||
text, textbuf, textlen );
|
||||
int rc = entry_naming_check( e, manage, 1, text, textbuf, textlen );
|
||||
|
||||
if( rc == LDAP_SUCCESS )
|
||||
rc = entry_naming_check( e, manage, 1, text, textbuf, textlen );
|
||||
rc = entry_schema_check( op, e, manage, 1, NULL,
|
||||
text, textbuf, textlen );
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
fprintf( stderr, "%s: dn=\"%s\" (line=%d): (%d) %s\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue