summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-05-01 14:51:15 +0200
committerVolker Lendecke <vl@samba.org>2010-05-02 15:16:14 +0200
commit668e28b80e47876bf32ac49abcb1e8f5e0c2cef0 (patch)
tree997a11b1d4f423cede20df36dbe1bfbca48a41eb /source3
parentef0adbff93d0fd2aa05bd73da8774db47903c74d (diff)
downloadsamba-668e28b80e47876bf32ac49abcb1e8f5e0c2cef0.tar.gz
samba-668e28b80e47876bf32ac49abcb1e8f5e0c2cef0.tar.bz2
samba-668e28b80e47876bf32ac49abcb1e8f5e0c2cef0.zip
s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL
I don't think it makes sense to #ifdef this one case separately. Metze, Bo Yang, please check!
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cred_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cred_cache.c b/source3/winbindd/winbindd_cred_cache.c
index 848a4726f8..9201372b14 100644
--- a/source3/winbindd/winbindd_cred_cache.c
+++ b/source3/winbindd/winbindd_cred_cache.c
@@ -359,7 +359,7 @@ static void krb5_ticket_gain_handler(struct event_context *event_ctx,
retry_later:
-#if defined(DEBUG_KRB5_TKT_REGAIN)
+#if defined(DEBUG_KRB5_TKT_RENEWAL)
t = timeval_set(time(NULL) + 30, 0);
#else
t = timeval_current_ofs(MAX(30, lp_winbind_cache_time()), 0);