mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#8140 - Update bind operations to note bind_ssf vs overall connection ssf
This commit is contained in:
parent
57b0ed909c
commit
0d0d50724a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user