/* check restrictions */
if( backend_check_restrictions( op, rs, NULL ) != LDAP_SUCCESS ) {
- op->o_bd = bd;
send_ldap_result( op, rs );
goto return_results;
}
/* else limits_check() sends error */
} else {
- op->o_bd = bd;
send_ldap_error( op, rs, LDAP_UNWILLING_TO_PERFORM,
"operation not supported within namingContext" );
}