This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: mkpasswd (434): [31] A device attached to the system is not functioning.

On 7/30/2010 3:14 AM, Linda Walsh wrote:
This is still a problem.

/bin>  mkpasswd
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
mkpasswd (434): [31] A device attached to the system is not functioning.

Looking at the code (which you can find here <>), 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.

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

Because they are looking for different information. See <>

Larry Hall                    
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: FAQ: Documentation: Unsubscribe info:

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