From: Pierangelo Masarati Date: Sat, 9 Jun 2007 15:31:46 +0000 (+0000) Subject: fix SASL ssf logging (ITS#5001) X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~409 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c77e65c274d0e83703f2c57ca9a6da0fce8e5832;p=openldap fix SASL ssf logging (ITS#5001) --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 27b71a435c..2899a40cda 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1815,13 +1815,14 @@ static int connection_bind_cb( Operation *op, SlapReply *rs ) /* log authorization identity */ Statslog( LDAP_DEBUG_STATS, - "%s BIND dn=\"%s\" mech=%s ssf=%d\n", + "%s BIND dn=\"%s\" mech=%s sasl_ssf=%d ssf=%d\n", op->o_log_prefix, BER_BVISNULL( &op->o_conn->c_dn ) ? "" : op->o_conn->c_dn.bv_val, - op->o_conn->c_authmech.bv_val, op->orb_ssf, 0 ); + op->o_conn->c_authmech.bv_val, + op->orb_ssf, op->o_conn->c_ssf ); Debug( LDAP_DEBUG_TRACE, - "do_bind: SASL/%s bind: dn=\"%s\" ssf=%d\n", + "do_bind: SASL/%s bind: dn=\"%s\" sasl_ssf=%d\n", op->o_conn->c_authmech.bv_val, BER_BVISNULL( &op->o_conn->c_dn ) ? "" : op->o_conn->c_dn.bv_val, op->orb_ssf );