Winbind expand groups fix (patch)

Atte Peltomaki atte.peltomaki at f-secure.com
Mon Jun 30 13:56:40 GMT 2008


Here's a patch against Samba 3.2.0-GIT-096ff39-test to fix winbind group
expansion. 

--- winbindd_group.c	2008-06-30 16:40:58.000000000 +0300
+++ winbindd_group-fix.c	2008-06-30 16:41:49.000000000 +0300
@@ -442,7 +442,7 @@
 							         &sid_mem[j],
 							         &new_groups,
 							         &new_groups_size);
-				if (NT_STATUS_IS_OK(status)) {
+				if (!NT_STATUS_IS_OK(status)) {
 					goto out;
 				}

-- 
 ____________
 \   ______//     Atte Peltomäki - atte.peltomaki at f-secure.com
  \  \\____        UNIX System Administrator - IT Server Team
   \   __//    F-Secure Corp. PL 24, FIN-00181 Helsinki, Finland
    \  \\     Tel: +358 9 2520 0700,     direct: +358 9 2520 5423
     \ //                   http://www.f-secure.com
      \/         Integrated Solutions for Enterprise Security


More information about the samba-technical mailing list