summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-30 09:20:05 -0700
committerJeremy Allison <jra@samba.org>2008-06-30 09:20:05 -0700
commit4aaa3a0fac09044498a6f725242f12e534e21d18 (patch)
treedf9b6987f7d367749b36888231c7164ef67f95db
parent16e44ee1126a5126346689785d240ac37a32fad7 (diff)
downloadsamba-4aaa3a0fac09044498a6f725242f12e534e21d18.tar.gz
samba-4aaa3a0fac09044498a6f725242f12e534e21d18.tar.bz2
samba-4aaa3a0fac09044498a6f725242f12e534e21d18.zip
Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly check
error code in winbindd group expansion. Jeremy. (This used to be commit e321377174f579ba57a70f260f4d4bc234a07439)
-rw-r--r--source3/winbindd/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index f9f946f3f3..20b90e3283 100644
--- a/source3/winbindd/winbindd_group.c
+++ b/source3/winbindd/winbindd_group.c
@@ -442,7 +442,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
&sid_mem[j],
&new_groups,
&new_groups_size);
- if (NT_STATUS_IS_OK(status)) {
+ if (!NT_STATUS_IS_OK(status)) {
goto out;
}