From 4a47bc6082b9f1162a9d79d2faee6f12f85bf5c8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Jun 2008 09:19:16 -0700 Subject: =?UTF-8?q?Fix=20from=20Atte=20Peltom=E4ki=20-=20atte.peltomaki@f-?= =?UTF-8?q?secure.com=20to=20correctly=20check=20error=20code=20in=20winbi?= =?UTF-8?q?ndd=20group=20expansion.=20Jeremy.=20(cherry=20picked=20from=20?= =?UTF-8?q?commit=20c622c997c513d02f929beaaf8ce2e5aa249fcc47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/winbindd/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; } -- cgit v1.2.1