summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_cache.c2
1 files changed, 1 insertions, 1 deletions
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;
}