mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 04:59:39 -05:00
improve slapacl option sanity checks
This commit is contained in:
parent
bf3497cca8
commit
a07d8ee0b7
1 changed files with 3 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue