From: Kurt Zeilenga Date: Sat, 22 Jun 2002 21:27:38 +0000 (+0000) Subject: authcId might be NULL X-Git-Tag: NO_SLAP_OP_BLOCKS~1396 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d90fcda3ad21820dfd5b794e785dc76ed5616a9;p=openldap authcId might be NULL --- 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