git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a5917
)
make the winbind sequence number code more robust
author
Andrew Tridgell
<tridge@samba.org>
Fri, 11 Jan 2002 10:02:28 +0000
(10:02 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 11 Jan 2002 10:02:28 +0000
(10:02 +0000)
when switching from rpc to ADS this now should make sense
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index 847ec9e5417f052bb5328d516972b3fcb3c2039a..15964f2cce1bc06ffbd65cf8dde314d964d168d3 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/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;
}