ITS#7786 Allow parsing of invalid entries when schema checking off

This commit is contained in:
Ondřej Kuzník 2021-04-07 10:57:12 +01:00 committed by Quanah Gibson-Mount
parent afa19de2cb
commit c29f0315c2

View File

@ -248,7 +248,7 @@ str2entry2( char *s, int checkvals )
rc = slap_bv2ad( type+i, &ad, &text );
if( rc != LDAP_SUCCESS ) {
int wtool = ( slapMode & (SLAP_TOOL_MODE|SLAP_TOOL_READONLY) ) == SLAP_TOOL_MODE;
int wtool = ( slapMode & (SLAP_TOOL_MODE|SLAP_TOOL_READONLY|SLAP_TOOL_NO_SCHEMA_CHECK) ) == SLAP_TOOL_MODE;
Debug( wtool ? LDAP_DEBUG_ANY : LDAP_DEBUG_TRACE,
"<= str2entry: str2ad(%s): %s\n", type[i].bv_val, text );
if( wtool ) {