diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-09-04 09:29:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:43:23 -0500 |
commit | f5906de76db2ba8c95af3da34a283de3da21ec0f (patch) | |
tree | 41928fe1a78e20bc0602345f6bc9fce27ba3108b /source3/nsswitch/winbindd_cred_cache.c | |
parent | 5f2b59622ea1d2ca72577e3c7f60c5868a2aa20a (diff) | |
download | samba-f5906de76db2ba8c95af3da34a283de3da21ec0f.tar.gz samba-f5906de76db2ba8c95af3da34a283de3da21ec0f.tar.bz2 samba-f5906de76db2ba8c95af3da34a283de3da21ec0f.zip |
r18028: Fix warnings on non-krb5 systems
(This used to be commit 30df6cb65f2dcc1829ea362ea0bc2a5e10f9819a)
Diffstat (limited to 'source3/nsswitch/winbindd_cred_cache.c')
-rw-r--r-- | source3/nsswitch/winbindd_cred_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c index e107b82a04..ddf4de6754 100644 --- a/source3/nsswitch/winbindd_cred_cache.c +++ b/source3/nsswitch/winbindd_cred_cache.c @@ -72,10 +72,12 @@ static void krb5_ticket_refresh_handler(struct timed_event *te, { struct WINBINDD_CCACHE_ENTRY *entry = talloc_get_type_abort(private_data, struct WINBINDD_CCACHE_ENTRY); +#ifdef HAVE_KRB5 int ret; time_t new_start; struct timeval t; struct WINBINDD_MEMORY_CREDS *cred_ptr = entry->cred_ptr; +#endif DEBUG(10,("krb5_ticket_refresh_handler called\n")); DEBUGADD(10,("event called for: %s, %s\n", entry->ccname, entry->username)); |