case LDAP_BACK_CFG_IDASSERT_AUTHZFROM: {
BerVarray *bvp;
- bvp = &mt->mt_idassert_authz; break;
+ bvp = &mt->mt_idassert_authz;
if ( c->valx < 0 ) {
if ( *bvp != NULL ) {
ber_bvarray_free( *bvp );
/* re-parse all rewrite rules, up to the one
* that needs to be added */
+ ca.be = c->be;
ca.fname = c->fname;
ca.lineno = c->lineno;
for ( i = 0; i < ix; i++ ) {
Debug( LDAP_DEBUG_ANY, "%s meta_search_dobind_init[%d] mc=%p: "
"empty dn with non-empty cred: error\n",
op->o_log_prefix, candidate, (void *)mc );
+ rc = LDAP_OTHER;
goto other;
}
if ( *mcp == NULL ) {
retcode = META_SEARCH_ERR;
- rs->sr_err = LDAP_UNAVAILABLE;
+ rc = LDAP_UNAVAILABLE;
candidates[ candidate ].sr_msgid = META_MSGID_IGNORE;
break;
}
LDAP_BACK_CONN_TAINTED_SET( mc );
meta_back_release_conn_lock( mi, mc, 0 );
*mcp = NULL;
- rs->sr_err = rc;
retcode = META_SEARCH_ERR;