mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
ITS#7786 Allow parsing of invalid entries when schema checking off
This commit is contained in:
parent
afa19de2cb
commit
c29f0315c2
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user