summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-30 09:19:16 -0700
committerKarolin Seeger <kseeger@samba.org>2008-06-30 20:17:05 +0200
commit4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8 (patch)
tree57fd4ea39b7413bf48e2c8ae80018a8bd3842bf9
parent83612e44211e5683cfe528a202f529cc9c531573 (diff)
downloadsamba-4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8.tar.gz
Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly check
error code in winbindd group expansion. Jeremy. (cherry picked from commit c622c997c513d02f929beaaf8ce2e5aa249fcc47)
-rw-r--r--source/winbindd/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index 63fde9f495d..ce6ca371e8f 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/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;
}