case SASL_CONTINUE:
rc = LDAP_MORE_RESULTS_TO_RETURN;
break;
+ case SASL_INTERACT:
+ rc = LDAP_LOCAL_ERROR;
+ break;
case SASL_OK:
rc = LDAP_SUCCESS;
break;
}
if( saslrc == SASL_INTERACT ) {
+ int res;
if( !interact ) break;
- rc = (interact)( ld, flags, defaults, prompts );
- if( rc != LDAP_SUCCESS ) {
+ res = (interact)( ld, flags, defaults, prompts );
+ if( res != LDAP_SUCCESS ) {
break;
}
}
if( saslrc == SASL_INTERACT ) {
int res;
if( !interact ) break;
- rc = (interact)( ld, flags, defaults, prompts );
+ res = (interact)( ld, flags, defaults, prompts );
if( res != LDAP_SUCCESS ) {
break;
}