From cdeab003ac8ec3077a962665a51aef10f67b617b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 3 Oct 2003 12:18:44 +0000 Subject: [PATCH] (check_for_tgt): set client as part of the pattern/match cred git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12959 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/klist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kuser/klist.c b/kuser/klist.c index 3d8d1a0f6..7c8ec1cff 100644 --- a/kuser/klist.c +++ b/kuser/klist.c @@ -318,6 +318,7 @@ check_for_tgt (krb5_context context, NULL); if (ret) krb5_err (context, 1, ret, "krb5_make_principal"); + pattern.client = principal; ret = krb5_cc_retrieve_cred (context, ccache, 0, &pattern, &creds); expired = time(NULL) > creds.times.endtime;