git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4449e0e
)
BUG 1185: use 'winbind cache time' as the reconnect period when seq_num == -1 rather...
author
Gerald Carter
<jerry@samba.org>
Mon, 22 Mar 2004 22:50:27 +0000
(22:50 +0000)
committer
Gerald Carter
<jerry@samba.org>
Mon, 22 Mar 2004 22:50:27 +0000
(22:50 +0000)
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index 91834e476fc7a522f5b631a5a2538a932646e7e1..6974a14f9c63358e40f8313850d682d2159ffebc 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/nsswitch/winbindd_cache.c
@@
-339,10
+339,12
@@
static void refresh_sequence_number(struct winbindd_domain *domain, BOOL force)
get_cache( domain );
+#if 0 /* JERRY -- disable as the default cache time is now 5 minutes */
/* trying to reconnect is expensive, don't do it too often */
if (domain->sequence_number == DOM_SEQUENCE_NONE) {
cache_time *= 8;
}
+#endif
time_diff = t - domain->last_seq_check;