mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Move some noise about
This commit is contained in:
parent
a6154d03f2
commit
bab26b3142
@ -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;
|
||||
|
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user