From c77e65c274d0e83703f2c57ca9a6da0fce8e5832 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 9 Jun 2007 15:31:46 +0000 Subject: [PATCH] fix SASL ssf logging (ITS#5001) --- servers/slapd/connection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ); -- 2.39.5