git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d77466
)
s4-auth: Use smb_krb5_cc_get_lifetime() wrapper.
author
Andreas Schneider
<asn@samba.org>
Fri, 27 Apr 2012 18:29:47 +0000
(20:29 +0200)
committer
Simo Sorce
<idra@samba.org>
Fri, 4 May 2012 14:51:29 +0000
(16:51 +0200)
Signed-off-by: Simo Sorce <idra@samba.org>
auth/credentials/credentials_krb5.c
patch
|
blob
|
history
diff --git
a/auth/credentials/credentials_krb5.c
b/auth/credentials/credentials_krb5.c
index 86b33d499833c3304917928d334ec9903befeb71..684f2440fd72d619cbbeaf5915f678441df2787c 100644
(file)
--- 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