Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <37B7CD15.FB9BA834@vinschen.de> Date: Mon, 16 Aug 1999 10:34:29 +0200 From: Corinna Vinschen X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Chris Faylor , cygdev Subject: mkgroup patch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello! The problem of not getting the native name of the `none' group in W2K is done. Patch attached. Corinna Mon Aug 16 10:03:00 Corinna Vinschen * mkgroup.c: Corrected call to LookupAccountSid for retrieval of 'None'. Index: mkgroup.c =================================================================== RCS file: /src/cvsroot/winsup-990808/utils/mkgroup.c,v retrieving revision 1.2 diff -u -p -r1.2 mkgroup.c --- mkgroup.c 1999/08/16 08:05:33 1.2 +++ mkgroup.c 1999/08/16 08:05:49 @@ -263,7 +263,7 @@ main (int argc, char **argv) dom, (len2 = 256, &len), &use); if (AllocateAndInitializeSid (GetSidIdentifierAuthority (csid), - *GetSidSubAuthorityCount (csid), + 5, *GetSidSubAuthority (csid, 0), *GetSidSubAuthority (csid, 1), *GetSidSubAuthority (csid, 2),