mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Log successful SASL bind (ITS#2017)
This commit is contained in:
parent
a500feb4a6
commit
84fe0ad051
@ -312,6 +312,16 @@ do_bind(
|
|||||||
LBER_SB_OPT_SET_MAX_INCOMING, &max );
|
LBER_SB_OPT_SET_MAX_INCOMING, &max );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NEW_LOGGING
|
||||||
|
LDAP_LOG( OPERATION, DETAIL1,
|
||||||
|
"do_bind: SASL/%s bind: dn=\"%s\" ssf=%d\n",
|
||||||
|
conn->c_authmech.bv_val, conn->c_dn.bv_val, ssf );
|
||||||
|
#else
|
||||||
|
Debug( LDAP_DEBUG_TRACE,
|
||||||
|
"do_bind: SASL/%s bind: dn=\"%s\" ssf=%d\n",
|
||||||
|
conn->c_authmech.bv_val, conn->c_dn.bv_val, ssf );
|
||||||
|
#endif
|
||||||
|
|
||||||
} else if ( rc == LDAP_SASL_BIND_IN_PROGRESS ) {
|
} else if ( rc == LDAP_SASL_BIND_IN_PROGRESS ) {
|
||||||
conn->c_sasl_bind_in_progress = 1;
|
conn->c_sasl_bind_in_progress = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user