improve slapacl option sanity checks

This commit is contained in:
Pierangelo Masarati 2004-04-20 09:17:26 +00:00
parent bf3497cca8
commit a07d8ee0b7

View file

@ -297,6 +297,9 @@ slap_tool_init(
break;
case SLAPACL:
if ( argc == optind ) {
usage( tool, progname );
}
if ( !BER_BVISNULL( &authcDN ) && !BER_BVISNULL( &authcID ) ) {
usage( tool, progname );
}