mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix SASL ssf logging (ITS#5001)
This commit is contained in:
parent
ecb6db13dc
commit
c77e65c274
@ -1815,13 +1815,14 @@ static int connection_bind_cb( Operation *op, SlapReply *rs )
|
|||||||
|
|
||||||
/* log authorization identity */
|
/* log authorization identity */
|
||||||
Statslog( LDAP_DEBUG_STATS,
|
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,
|
op->o_log_prefix,
|
||||||
BER_BVISNULL( &op->o_conn->c_dn ) ? "<empty>" : op->o_conn->c_dn.bv_val,
|
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, 0 );
|
op->o_conn->c_authmech.bv_val,
|
||||||
|
op->orb_ssf, op->o_conn->c_ssf );
|
||||||
|
|
||||||
Debug( LDAP_DEBUG_TRACE,
|
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,
|
op->o_conn->c_authmech.bv_val,
|
||||||
BER_BVISNULL( &op->o_conn->c_dn ) ? "<empty>" : op->o_conn->c_dn.bv_val,
|
BER_BVISNULL( &op->o_conn->c_dn ) ? "<empty>" : op->o_conn->c_dn.bv_val,
|
||||||
op->orb_ssf );
|
op->orb_ssf );
|
||||||
|
Loading…
Reference in New Issue
Block a user