ITS#8140 - Update bind operations to note bind_ssf vs overall connection ssf

This commit is contained in:
Quanah Gibson-Mount 2020-06-10 21:17:30 +00:00
parent 57b0ed909c
commit 0d0d50724a
2 changed files with 6 additions and 6 deletions

View File

@ -60,8 +60,8 @@ do_bind(
if ( !BER_BVISEMPTY( &op->o_conn->c_dn ) ) {
/* log authorization identity demotion */
Debug( LDAP_DEBUG_STATS,
"%s BIND anonymous mech=implicit ssf=0\n",
op->o_log_prefix );
"%s BIND anonymous mech=implicit bind_ssf=0 ssf=%d\n",
op->o_log_prefix, op->o_conn->c_ssf );
}
connection2anonymous( op->o_conn );
if ( op->o_conn->c_sasl_bind_in_progress ) {
@ -534,9 +534,9 @@ fe_op_bind_success( Operation *op, SlapReply *rs )
/* log authorization identity */
Debug( LDAP_DEBUG_STATS,
"%s BIND dn=\"%s\" mech=%s ssf=0\n",
"%s BIND dn=\"%s\" mech=%s bind_ssf=0 ssf=%d\n",
op->o_log_prefix,
op->o_conn->c_dn.bv_val, op->orb_mech.bv_val );
op->o_conn->c_dn.bv_val, op->orb_mech.bv_val, op->o_conn->c_ssf );
Debug( LDAP_DEBUG_TRACE,
"do_bind: v%d bind: \"%s\" to \"%s\"\n",

View File

@ -1872,14 +1872,14 @@ static int connection_bind_cb( Operation *op, SlapReply *rs )
/* log authorization identity */
Debug( LDAP_DEBUG_STATS,
"%s BIND dn=\"%s\" mech=%s sasl_ssf=%d ssf=%d\n",
"%s BIND dn=\"%s\" mech=%s bind_ssf=%d ssf=%d\n",
op->o_log_prefix,
BER_BVISNULL( &op->o_conn->c_dn ) ? "<empty>" : op->o_conn->c_dn.bv_val,
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\" sasl_ssf=%d\n",
"do_bind: SASL/%s bind: dn=\"%s\" bind_ssf=%d\n",
op->o_conn->c_authmech.bv_val,
BER_BVISNULL( &op->o_conn->c_dn ) ? "<empty>" : op->o_conn->c_dn.bv_val,
op->orb_ssf );