This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mkgroup patch


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]