improve slapacl

This commit is contained in:
Pierangelo Masarati 2004-04-20 14:55:02 +00:00
parent 30f697beeb
commit 4d3a49b33f
2 changed files with 4 additions and 2 deletions

View File

@ -56,8 +56,6 @@ slapacl( int argc, char **argv )
connection_fake_init( &conn, &op, &conn );
assert( be != NULL );
if ( !BER_BVISNULL( &authcID ) ) {
rc = slap_sasl_getdn( &conn, &op, &authcID, NULL, &authcDN, SLAP_GETDN_AUTHCID );
if ( rc != LDAP_SUCCESS ) {

View File

@ -432,6 +432,10 @@ slap_tool_init(
be = select_backend( &nbase, 0, 0 );
ber_memfree( nbase.bv_val );
if ( tool == SLAPACL ) {
goto startup;
}
if( be == NULL ) {
fprintf( stderr, "%s: slap_init no backend for \"%s\"\n",
progname, base.bv_val );