summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cred_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c
index 420ed2426d..ef49dbfe74 100644
--- a/source3/nsswitch/winbindd_cred_cache.c
+++ b/source3/nsswitch/winbindd_cred_cache.c
@@ -1,7 +1,7 @@
/*
Unix SMB/CIFS implementation.
- Winbind daemon - krb5 credential cache funcions
+ Winbind daemon - krb5 credential cache functions
and in-memory cache functions.
Copyright (C) Guenther Deschner 2005-2006
@@ -136,7 +136,7 @@ static void krb5_ticket_refresh_handler(struct timed_event *te,
* seconds when the KDC was not available right now. */
if (ret == KRB5_KDC_UNREACH) {
- new_start = time(NULL) + lp_winbind_cache_time();
+ new_start = time(NULL) + MAX(30, lp_winbind_cache_time());
goto done;
}