git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83159c0
)
v3-4-test: Protect against invalid winbindd_cache entries
author
Volker Lendecke
<vl@samba.org>
Tue, 23 Nov 2010 13:49:12 +0000
(14:49 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 23 Nov 2010 16:54:15 +0000
(17:54 +0100)
source3/winbindd/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cache.c
b/source3/winbindd/winbindd_cache.c
index 28f6b57c0c2a14aa0eecdd7eecbb77ec8eb7331f..7df3bf323d8fd0c839cc06094fa84a9776d65098 100644
(file)
--- a/
source3/winbindd/winbindd_cache.c
+++ b/
source3/winbindd/winbindd_cache.c
@@
-1808,7
+1808,8
@@
static NTSTATUS rids_to_names(struct winbindd_domain *domain,
(*names)[i] = centry_string(centry, *names);
- } else if (NT_STATUS_EQUAL(centry->status, NT_STATUS_NONE_MAPPED)) {
+ } else if (NT_STATUS_EQUAL(centry->status, NT_STATUS_NONE_MAPPED)
+ || NT_STATUS_EQUAL(centry->status, STATUS_SOME_UNMAPPED)) {
have_unmapped = true;
} else {