This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
mkgroup patch
- To: Chris Faylor <cgf@cygnus.com>, cygdev <cygwin-developers@sourceware.cygnus.com>
- Subject: mkgroup patch
- From: Corinna Vinschen <corinna@vinschen.de>
- Date: Mon, 16 Aug 1999 10:34:29 +0200
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 <corinna@vinschen.de>
* 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),