From: Kurt Zeilenga Date: Tue, 13 Aug 2002 03:49:21 +0000 (+0000) Subject: Log successful SASL bind (ITS#2017) X-Git-Tag: NO_SLAP_OP_BLOCKS~1228 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=84fe0ad051d23fd5057254f9d26da33fe5ebee31;p=openldap Log successful SASL bind (ITS#2017) --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 81898e3ea0..63338b7e67 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -312,6 +312,16 @@ do_bind( 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 ) { conn->c_sasl_bind_in_progress = 1;