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

source/winbindd/winbindd_group.c

index f9f946f3f3de4cef8a882788c83189d884c31691..20b90e3283dec05dabba834f997746a9625351c0 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;
                                }