This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
- From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 30 Jul 2010 09:33:24 -0400
- Subject: Re: mkpasswd (434): [31] A device attached to the system is not functioning.
- References: <4C527BD1.50707@tlinx.org>
- Reply-to: cygwin at cygwin dot com
On 7/30/2010 3:14 AM, Linda Walsh wrote:
This is still a problem.
/bin> mkpasswd
SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
mkpasswd (434): [31] A device attached to the system is not functioning.
/bin>
Looking at the code (which you can find here
<http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkpasswd.c?rev=1.54&content-type=text/x-cvsweb-markup&cvsroot=src>),
it appears either NetUserGetInfo() or NetUserEnum()
is failing. Seems like a strange error message but perhaps it makes more
sense in context. Since I cannot reproduce it, I cannot be of more help.
Note:
mkgroup doesn't give an error message. Why mkpasswd does and mkgroup does
not might be pertinent -- don't they use similar mechanisms? What do they do
different?
Because they are looking for different information. See
<http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkgroup.c?rev=1.47&content-type=text/x-cvsweb-markup&cvsroot=src>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
--
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