summaryrefslogtreecommitdiff
path: root/auth/credentials
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-04-27 20:29:47 +0200
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:29 +0200
commit5832c61c5f9905f91ae6a010f5c90c674cdace91 (patch)
tree40323e957971b10d28e0769781a64ed6156e016d /auth/credentials
parent4d77466dafdb4def6681534e47c06aa07ccf6e17 (diff)
downloadsamba-5832c61c5f9905f91ae6a010f5c90c674cdace91.tar.gz
samba-5832c61c5f9905f91ae6a010f5c90c674cdace91.tar.bz2
samba-5832c61c5f9905f91ae6a010f5c90c674cdace91.zip
s4-auth: Use smb_krb5_cc_get_lifetime() wrapper.
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'auth/credentials')
-rw-r--r--auth/credentials/credentials_krb5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c
index 86b33d4998..684f2440fd 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