From 35623dac5431cd947f28b653597b675260331a63 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Jan 2002 10:02:28 +0000 Subject: make the winbind sequence number code more robust when switching from rpc to ADS this now should make sense (This used to be commit ec73d26c7f9a2bbd4b91e9c22850e032b91666e2) --- source3/nsswitch/winbindd_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 847ec9e541..15964f2cce 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -203,7 +203,7 @@ static BOOL centry_expired(struct winbindd_domain *domain, struct cache_entry *c /* if the server is down or the cache entry is not older than the current sequence number then it is OK */ if (wcache_server_down(domain) || - centry->sequence_number >= domain->sequence_number) { + centry->sequence_number == domain->sequence_number) { return False; } -- cgit