Author: vlendec Date: 2007-01-13 10:40:09 +0000 (Sat, 13 Jan 2007) New Revision: 20725
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20725 Log: Get rid of a bool passed down -- gd, please check Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c 2007-01-13 02:34:43 UTC (rev 20724) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c 2007-01-13 10:40:09 UTC (rev 20725) @@ -280,7 +280,6 @@ 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 @@ 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), Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c 2007-01-13 02:34:43 UTC (rev 20724) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c 2007-01-13 10:40:09 UTC (rev 20725) @@ -608,7 +608,6 @@ time(NULL), ticket_lifetime, renewal_until, - lp_winbind_refresh_tickets(), False); if (!NT_STATUS_IS_OK(result)) { @@ -884,7 +883,6 @@ 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)) {