From: Kurt Zeilenga Date: Mon, 13 Feb 2006 23:26:55 +0000 (+0000) Subject: Report layer installed only after installed, and fix up report text X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~192 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d9e341ae963dc7f856001bee55158d0fc4a1bf8;p=openldap Report layer installed only after installed, and fix up report text --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 6222090d23..873387317a 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -861,9 +861,6 @@ ldap_int_sasl_bind( } if( ssf && *ssf ) { - if( flags != LDAP_SASL_QUIET ) { - fprintf( stderr, "SASL installing layers\n" ); - } if ( ld->ld_defconn->lconn_sasl_sockctx ) { oldctx = ld->ld_defconn->lconn_sasl_sockctx; sasl_dispose( &oldctx ); @@ -871,6 +868,10 @@ ldap_int_sasl_bind( } ldap_pvt_sasl_install( ld->ld_defconn->lconn_sb, ctx ); ld->ld_defconn->lconn_sasl_sockctx = ctx; + + if( flags != LDAP_SASL_QUIET ) { + fprintf( stderr, "SASL data security layer installed.\n" ); + } } } ld->ld_defconn->lconn_sasl_authctx = ctx;