From a92d87f1f735f1d5003845fa45b650231382e9ec Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 13 Jul 2004 06:39:55 +0000 Subject: r1476: Don't print messages about the CCACHE not being found - this is normal. Andrew Bartlett (This used to be commit 30d88580efe45dc792f8d5c04f4abe0497d1551c) --- source4/libcli/auth/gensec_krb5.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source4/libcli/auth') diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c index 78b6e334a7..8268eb6051 100644 --- a/source4/libcli/auth/gensec_krb5.c +++ b/source4/libcli/auth/gensec_krb5.c @@ -177,13 +177,17 @@ static NTSTATUS gensec_krb5_client_start(struct gensec_security *gensec_security case KRB5KDC_ERR_PREAUTH_FAILED: case KRB5KRB_AP_ERR_TKT_EXPIRED: case KRB5_CC_END: + { + DEBUG(3, ("kerberos: %s\n", + error_message(ret))); + /* fall down to remaining code */ + } + /* just don't print a message for these really ordinary messages */ case KRB5_FCC_NOFILE: case KRB5_CC_NOTFOUND: { char *password; time_t kdc_time; - DEBUG(3, ("kerberos: %s\n", - error_message(ret))); nt_status = gensec_get_password(gensec_security, gensec_security->mem_ctx, &password); -- cgit