From 4aaa3a0fac09044498a6f725242f12e534e21d18 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Jun 2008 09:20:05 -0700 Subject: 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) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source3/winbindd/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit