From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27456 invoked by alias); 30 Jul 2010 13:33:34 -0000 Received: (qmail 27437 invoked by uid 22791); 30 Jul 2010 13:33:32 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_MK X-Spam-Check-By: sourceware.org Received: from smtp111.biz.mail.re2.yahoo.com (HELO smtp111.biz.mail.re2.yahoo.com) (66.196.116.96) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 30 Jul 2010 13:33:27 +0000 Received: (qmail 20777 invoked from network); 30 Jul 2010 13:33:26 -0000 Received: from [192.168.1.230] (reply-to-list-only-lh@108.7.36.119 with plain) by smtp111.biz.mail.re2.yahoo.com with SMTP; 30 Jul 2010 06:33:25 -0700 PDT X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk Message-ID: <4C52D4A4.1030002@cygwin.com> Date: Fri, 30 Jul 2010 16:15:00 -0000 From: "Larry Hall \(Cygwin\)" Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: mkpasswd (434): [31] A device attached to the system is not functioning. References: <4C527BD1.50707@tlinx.org> In-Reply-To: <4C527BD1.50707@tlinx.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-07/txt/msg00636.txt.bz2 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 ), 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 -- 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