make sure to initialize the backend methods when enumerating sequence numbers; report...
authorGerald Carter <jerry@samba.org>
Sat, 2 Aug 2003 18:15:33 +0000 (18:15 +0000)
committerGerald Carter <jerry@samba.org>
Sat, 2 Aug 2003 18:15:33 +0000 (18:15 +0000)
(This used to be commit 10c7a1af67e556c17d4b3495934a2dad19728d77)

source3/nsswitch/winbindd_cache.c

index af4ccabadeda854e005aac6cd0d21be537466381..2891a4fa683a8cbfa81eb3d52d4f09bb70af17c5 100644 (file)
@@ -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;