mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7256 Let slapmodify ignore unknown operations
ldapmodify already does the same.
This commit is contained in:
parent
cede821cef
commit
7810dccdff
@ -194,11 +194,8 @@ slapmodify( int argc, char **argv )
|
||||
goto done;
|
||||
|
||||
default:
|
||||
fprintf( stderr, "%s: unknown request 0x%lx (line=%lu)\n",
|
||||
progname, (unsigned long)lr.lr_op, lineno );
|
||||
rc = EXIT_FAILURE;
|
||||
if( continuemode ) continue;
|
||||
goto done;
|
||||
/* record skipped e.g. version: or comment or something we don't handle yet */
|
||||
continue;
|
||||
}
|
||||
|
||||
local_rc = dnNormalize( 0, NULL, NULL, &lr.lr_dn, &ndn, NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user