mkgroup patch

Corinna Vinschen corinna@vinschen.de
Mon Aug 16 01:33:00 GMT 1999


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),


More information about the Cygwin-developers mailing list