| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, |
| <http://sourceware.cygnus.com/ml/#faqs> | |
| 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 <corinna AT vinschen DOT de> |
| X-Mailer: | Mozilla 4.6 [en] (WinNT; I) |
| X-Accept-Language: | de,en |
| MIME-Version: | 1.0 |
| To: | Chris Faylor <cgf AT cygnus DOT com>, |
| cygdev <cygwin-developers AT sourceware DOT cygnus DOT com> | |
| Subject: | 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 AT vinschen DOT 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),
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |