Skip to content
Snippets Groups Projects
Commit 4d3a49b3 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

improve slapacl

parent 30f697be
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment