summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-13 06:39:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:34 -0500
commita92d87f1f735f1d5003845fa45b650231382e9ec (patch)
tree04efba48ebca68abf51d26c093f6deeabcedafac /source4
parented03516c915c4a4c8ae6f7decfa04d51049d9dd5 (diff)
downloadsamba-a92d87f1f735f1d5003845fa45b650231382e9ec.tar.gz
samba-a92d87f1f735f1d5003845fa45b650231382e9ec.tar.bz2
samba-a92d87f1f735f1d5003845fa45b650231382e9ec.zip
r1476: Don't print messages about the CCACHE not being found - this is normal.
Andrew Bartlett (This used to be commit 30d88580efe45dc792f8d5c04f4abe0497d1551c)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/gensec_krb5.c8
1 files changed, 6 insertions, 2 deletions
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);