mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
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)
This commit is contained in:
parent
034a855d73
commit
35623dac54
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user