X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE,TW_MK X-Spam-Check-By: sourceware.org Message-id: <4F614CBD.1020308@cygwin.com> Date: Wed, 14 Mar 2012 21:58:21 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: mkpasswd and domain fail with windows network References: <700D72CA56E7824BAB8BEB5A614C62C21375B47238 AT VA3DIAXVS331 DOT RED001 DOT local> In-reply-to: <700D72CA56E7824BAB8BEB5A614C62C21375B47238@VA3DIAXVS331.RED001.local> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 3/14/2012 5:57 PM, Furash, Gary F - (furashg) wrote: > I've had this problem in the past with in other organizations and have never been able to get around it. > > Problem: running mkpasswd w/ '-D' doesn't work/finish > > Details: I am running Cygwin on Windows 7 64 bit in a typical work environment. I don't think that matters because I've had this exact problem before with other employers. The MKGROUP command with the domain parameter works fine, and populates all the real domains into /etc/groups. However, > - if I run mkpasswd with only -L, I just get the local accounts, none of > which are me (I'm part of a domain); > - if I run mkpasswd with -D, it just hangs indefinitely > - it doesn't matter if I run it as Administrator or not > - it doesn't matter if port 135 is open or not. I checked that > because if I run the mkpasswd -D command with the laptop disconnected > from the network, it actually fails with an RPC unable to contact domain error. > - using -D versus -d doesn't make a difference, as does adding -l > (it just spits out the local accounts then fails or hangs. This can take a long time in large domains. An alternative is to use the -c/-C to include just the current user. -- Larry _____________________________________________________________________ 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