ITS#7256 Let slapmodify ignore unknown operations

ldapmodify already does the same.
This commit is contained in:
Ondrej Kuznik 2012-04-19 16:05:35 +02:00 committed by Howard Chu
parent cede821cef
commit 7810dccdff

View File

@ -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 );