Subject: 'mkgroup -lu' error and/or missing group member names
From: [email-masked]
To: [email-masked]
Cc: [email-masked]
Date: Mon, 12 Apr 2010 10:06:48 -0400
List-Id: <cygwin.cygwin.com>

Hello,

When

   mkgroup -lu

is run on a current (as of today) install of CYGWIN 1.7.4,
it returns the error

   mkgroup (376): [1722] The RPC server is unavailable.

Running any of

   mkgroup -l -u
   mkgroup -u -l
   mkgroup -ul

does not result in an error message, but also does not include 
member user IDs in the output:

   Administrators:S-1-5-32-544:544:
   Users:S-1-5-32-545:545:

If 'mkgroup' from CYGWIN 1.5.25 is run under 1.7.4, correct output is 
produced with all combinations of the -l and -u parameters:

   Administrators:S-1-5-32-544:544:Administrator,cyg_server
   Users:S-1-5-32-545:545:testuser,sshd,cyg_server

The 'mkgroup' 1.7.4 behavior appears to be a bug or defect.

CYGWIN is installed on a fully patched 64-bit Windows Server 
2008 R2 system (i.e. Windows 7 or Windows NT 6.1).  System
is a member of a workgroup, not a member of a domain.

------

1.5.25 version information

$ uname -a
CYGWIN_NT-6.0-WOW64 CIANNAIT 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
$ /usr/bin/mkgroup -v
mkgroup (cygwin) 1.10
Compiled on Apr  7 2010
$ cksum /usr/local/bin/mkgroup
396516814 14336 /usr/local/bin/mkgroup

-----

1.7.4 version information

$ uname -a
CYGWIN_NT-6.1-WOW64 aodhnait 1.7.4(0.225/5/3) 2010-04-07 11:02 i686 Cygwin
$ /usr/local/bin/mkgroup -v
mkgroup (cygwin) 1.10
Compiled on Jun 12 2008
$ cksum /usr/bin/mkgroup
2994624886 20494 /usr/bin/mkgroup
-----

Cygcheck output attached.  Please CC my e-mail when
responding as I am not subscribed to the mailing list.

Thanks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple