From f82f7203cbc6fb28004afe3d16b053eea31eea00 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 10 Jul 2002 03:29:21 +0000 Subject: [PATCH] Fix SASL external bug --- servers/slurpd/ldap_op.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index 66145f59e5..577950e4b0 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -903,10 +903,14 @@ do_bind( #ifdef NEW_LOGGING LDAP_LOG (( "operation", LDAP_LEVEL_ARGS, "do_bind: bind to %s as %s via %s (SASL)\n", - ri->ri_hostname, ri->ri_authcId, ri->ri_saslmech )); + ri->ri_hostname, + ri->ri_authcId ? ri->ri_authcId : "-", + ri->ri_saslmech )); #else Debug( LDAP_DEBUG_ARGS, "bind to %s as %s via %s (SASL)\n", - ri->ri_hostname, ri->ri_authcId, ri->ri_saslmech ); + ri->ri_hostname, + ri->ri_authcId ? ri->ri_authcId : "-", + ri->ri_saslmech ); #endif #ifdef HAVE_CYRUS_SASL -- 2.39.5