summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-13 10:40:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:07 -0500
commitafb5cda0de0719d3abab44cc5084226ef0ceb3b2 (patch)
tree8853d8a4d086121f949ac047e2413bcb7a70ad14
parent67b0f18f62049013cd220912d66c9029ccbda26b (diff)
downloadsamba-afb5cda0de0719d3abab44cc5084226ef0ceb3b2.tar.gz
samba-afb5cda0de0719d3abab44cc5084226ef0ceb3b2.tar.bz2
samba-afb5cda0de0719d3abab44cc5084226ef0ceb3b2.zip
r20725: Get rid of a bool passed down -- gd, please check
(This used to be commit 1ef910f423a9ec69af6abf5a4e2137e8a4e81755)
-rw-r--r--source3/nsswitch/winbindd_cred_cache.c3
-rw-r--r--source3/nsswitch/winbindd_pam.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_cred_cache.c b/source3/nsswitch/winbindd_cred_cache.c
index def4c6197c..6f629ad15c 100644
--- a/source3/nsswitch/winbindd_cred_cache.c
+++ b/source3/nsswitch/winbindd_cred_cache.c
@@ -280,7 +280,6 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
time_t create_time,
time_t ticket_end,
time_t renew_until,
- BOOL schedule_refresh_event,
BOOL postponed_request)
{
struct WINBINDD_CCACHE_ENTRY *entry = NULL;
@@ -348,7 +347,7 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
entry->uid = uid;
entry->ref_count = 1;
- if (schedule_refresh_event && renew_until > 0) {
+ if (lp_winbind_refresh_tickets() && renew_until > 0) {
if (postponed_request) {
entry->event = add_timed_event(entry,
timeval_current_ofs(MAX(30, lp_winbind_cache_time()), 0),
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index 70007d481c..9274c30ba7 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -608,7 +608,6 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain,
time(NULL),
ticket_lifetime,
renewal_until,
- lp_winbind_refresh_tickets(),
False);
if (!NT_STATUS_IS_OK(result)) {
@@ -884,7 +883,6 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain,
time(NULL),
time(NULL) + lp_winbind_cache_time(),
time(NULL) + WINBINDD_PAM_AUTH_KRB5_RENEW_TIME,
- lp_winbind_refresh_tickets(),
True);
if (!NT_STATUS_IS_OK(result)) {