diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-01-11 10:02:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-01-11 10:02:28 +0000 |
commit | 35623dac5431cd947f28b653597b675260331a63 (patch) | |
tree | 7a81bd7c35906d61dbaba38f7cc6c66bd50b8b0f | |
parent | 034a855d73471c4c94ee71ea7644c6e3e02b8b74 (diff) | |
download | samba-35623dac5431cd947f28b653597b675260331a63.tar.gz samba-35623dac5431cd947f28b653597b675260331a63.tar.bz2 samba-35623dac5431cd947f28b653597b675260331a63.zip |
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)
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
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; } |