mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#7827 slapacl requires a valid suffix
This commit is contained in:
parent
279594c22f
commit
c84ae5db07
1 changed files with 5 additions and 5 deletions
|
|
@ -786,6 +786,11 @@ slap_tool_init(
|
|||
ber_memfree( nbase.bv_val );
|
||||
BER_BVZERO( &nbase );
|
||||
|
||||
if( be == NULL ) {
|
||||
fprintf( stderr, "%s: slap_init no backend for \"%s\"\n",
|
||||
progname, base.bv_val );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
switch ( tool ) {
|
||||
case SLAPACL:
|
||||
goto startup;
|
||||
|
|
@ -794,11 +799,6 @@ slap_tool_init(
|
|||
break;
|
||||
}
|
||||
|
||||
if( be == NULL ) {
|
||||
fprintf( stderr, "%s: slap_init no backend for \"%s\"\n",
|
||||
progname, base.bv_val );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
/* If the named base is a glue master, operate on the
|
||||
* entire context
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue