From d1a6180d8b1dd4b41c1348ec6f84fde7d74d8cdf Mon Sep 17 00:00:00 2001 From: fredrik Date: Wed, 14 Jun 2006 19:48:57 +0000 Subject: [PATCH] More concise logging. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@644 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/auth-krb5.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/auth-krb5.c b/daemon/auth-krb5.c index 5409692..995acb4 100644 --- a/daemon/auth-krb5.c +++ b/daemon/auth-krb5.c @@ -348,7 +348,7 @@ static int krbauth(struct authhandle *auth, char *passdata) authorized = 1; if(authorized) { - flog(LOG_INFO, "krb5 principal %s successfully authorized as %s", data->cname, data->username); + flog(LOG_INFO, "krb5 principal %s successfully authorized as %s%s", data->cname, data->username, (data->creds == NULL)?"":" (with fwd creds)"); return(AUTH_SUCCESS); } else { flog(LOG_INFO, "krb5 principal %s not authorized as %s", data->cname, data->username); @@ -377,7 +377,6 @@ static int krbauth(struct authhandle *auth, char *passdata) krb5_free_tgt_creds(k5context, fwdcreds); return(AUTH_ERR); } - flog(LOG_INFO, "received forwarded credentials for %s", data->username); /* Copy only the first credential. (Change this if it becomes a problem) */ ret = krb5_copy_creds(k5context, *fwdcreds, &data->creds); krb5_free_tgt_creds(k5context, fwdcreds); -- 2.11.0