From: Andreas Schneider Date: Fri, 27 Apr 2012 18:29:47 +0000 (+0200) Subject: s4-auth: Use smb_krb5_cc_get_lifetime() wrapper. X-Git-Tag: samba-4.0.0alpha21~351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5832c61c5f9905f91ae6a010f5c90c674cdace91;p=thirdparty%2Fsamba.git s4-auth: Use smb_krb5_cc_get_lifetime() wrapper. Signed-off-by: Simo Sorce --- 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