X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_20,TW_MK,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F6FB4DC.7040903@tlinx.org> Date: Sun, 25 Mar 2012 17:14:20 -0700 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 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 X-IsSubscribed: yes 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 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. > Have you tried running it with 'strace -f -n mkpasswd ...' and see where it seems to be hanging up? At least you might be able to tell if it is trying to read or just hung for some other reason. FWIW, I have a tiny domain @home, and it's currently working... (its an off then on again thing depending on windows updates, samba updates, not to mention cygwin updates... and how they all play together..always a joy!) Also, if it looks like it might be stuck in some call, you could try using 'wireshark', to look at the network traffic to/from your machine and see if it is downloading a long list of what looks like users/domains (unless your network is encrypted, then you'll see a long string of binary...) Just some ideas... -- 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