Commit 48b8970d authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

issue a useful error message

parent 17387317
......@@ -740,6 +740,11 @@ slap_idassert_parse( ConfigArgs *c, slap_idassert_t *si )
}
} else if ( bindconf_parse( c->argv[ i ], &si->si_bc ) ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"\"idassert-bind <args>\": "
"unable to parse field \"%s\"",
c->argv[ i ] );
Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg, 0 );
return 1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment