diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-02 18:15:33 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-02 18:15:33 +0000 |
commit | b1fc49125172bafb10fe475508a9eded1a7abbd2 (patch) | |
tree | dcdc5408a7dc69457cfa616a959cd7128be420f0 /source3/nsswitch | |
parent | b925d197f5c1829f7bb8c18de2557c0ccc2d94a9 (diff) | |
download | samba-b1fc49125172bafb10fe475508a9eded1a7abbd2.tar.gz samba-b1fc49125172bafb10fe475508a9eded1a7abbd2.tar.bz2 samba-b1fc49125172bafb10fe475508a9eded1a7abbd2.zip |
make sure to initialize the backend methods when enumerating sequence numbers; reported by Ken Cross
(This used to be commit 10c7a1af67e556c17d4b3495934a2dad19728d77)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |