diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index d06ef3269e..5f9362e83c 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -523,9 +523,7 @@ ldap_int_sasl_bind( } if( saslrc == SASL_INTERACT ) { - fprintf(stderr, "SASL Interacting\n"); if( !ld->ld_options.ldo_sasl_interact ) break; - rc = (ld->ld_options.ldo_sasl_interact)( ld, prompts ); if( rc != LDAP_SUCCESS ) { break; @@ -574,9 +572,7 @@ ldap_int_sasl_bind( if( saslrc == SASL_INTERACT ) { int res; - fprintf(stderr, "SASL Interacting\n"); if( !ld->ld_options.ldo_sasl_interact ) break; - res = (ld->ld_options.ldo_sasl_interact)( ld, prompts ); if( res != LDAP_SUCCESS ) { break; diff --git a/libraries/liblutil/sasl.c b/libraries/liblutil/sasl.c index 65a3ef821a..a005cdf6bc 100644 --- a/libraries/liblutil/sasl.c +++ b/libraries/liblutil/sasl.c @@ -101,6 +101,8 @@ int lutil_sasl_interact( { sasl_interact_t *interact = in; + fputs( "SASL Interaction\n", stderr ); + while( interact->id != SASL_CB_LIST_END ) { int rc = interaction( interact );