Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly check
authorJeremy Allison <jra@samba.org>
Mon, 30 Jun 2008 16:19:16 +0000 (09:19 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 30 Jun 2008 16:19:16 +0000 (09:19 -0700)
error code in winbindd group expansion.
Jeremy.

source/winbindd/winbindd_group.c

index 63fde9f495d11e08c879e8b5e83c8b41195a5733..ce6ca371e8fe962525725afef0b9342f81bda21d 100644 (file)
@@ -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;
                                }