Commit 0d0d5072 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

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

parent 57b0ed90
Pipeline #476 passed with stage
in 28 minutes and 17 seconds
......@@ -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",
......
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment