From b1fc49125172bafb10fe475508a9eded1a7abbd2 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 2 Aug 2003 18:15:33 +0000 Subject: make sure to initialize the backend methods when enumerating sequence numbers; reported by Ken Cross (This used to be commit 10c7a1af67e556c17d4b3495934a2dad19728d77) --- source3/nsswitch/winbindd_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index af4ccabade..2891a4fa68 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -328,6 +328,8 @@ static void refresh_sequence_number(struct winbindd_domain *domain, BOOL force) time_t t = time(NULL); unsigned cache_time = lp_winbind_cache_time(); + get_cache( domain ); + /* trying to reconnect is expensive, don't do it too often */ if (domain->sequence_number == DOM_SEQUENCE_NONE) { cache_time *= 8; -- cgit