From 5832c61c5f9905f91ae6a010f5c90c674cdace91 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 27 Apr 2012 20:29:47 +0200 Subject: [PATCH] s4-auth: Use smb_krb5_cc_get_lifetime() wrapper. Signed-off-by: Simo Sorce --- auth/credentials/credentials_krb5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 86b33d49983..684f2440fd7 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -303,8 +303,8 @@ _PUBLIC_ int cli_credentials_get_named_ccache(struct cli_credentials *cred, cred->ccache_obtained > CRED_UNINITIALISED) { time_t lifetime; bool expired = false; - ret = krb5_cc_get_lifetime(cred->ccache->smb_krb5_context->krb5_context, - cred->ccache->ccache, &lifetime); + ret = smb_krb5_cc_get_lifetime(cred->ccache->smb_krb5_context->krb5_context, + cred->ccache->ccache, &lifetime); if (ret == KRB5_CC_END) { /* If we have a particular ccache set, without * an initial ticket, then assume there is a -- 2.34.1