public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* mkpasswd and domain fail with windows network
@ 2012-03-14 21:57 Furash, Gary F - (furashg)
  2012-03-15  1:59 ` Larry Hall (Cygwin)
  2012-03-26  0:14 ` Linda Walsh
  0 siblings, 2 replies; 3+ messages in thread
From: Furash, Gary F - (furashg) @ 2012-03-14 21:57 UTC (permalink / raw)
  To: cygwin; +Cc: Furash, Gary (furashgary@gmail.com)

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mkpasswd and domain fail with windows network
  2012-03-14 21:57 mkpasswd and domain fail with windows network Furash, Gary F - (furashg)
@ 2012-03-15  1:59 ` Larry Hall (Cygwin)
  2012-03-26  0:14 ` Linda Walsh
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Hall (Cygwin) @ 2012-03-15  1:59 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mkpasswd and domain fail with windows network
  2012-03-14 21:57 mkpasswd and domain fail with windows network Furash, Gary F - (furashg)
  2012-03-15  1:59 ` Larry Hall (Cygwin)
@ 2012-03-26  0:14 ` Linda Walsh
  1 sibling, 0 replies; 3+ messages in thread
From: Linda Walsh @ 2012-03-26  0:14 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-26  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 21:57 mkpasswd and domain fail with windows network Furash, Gary F - (furashg)
2012-03-15  1:59 ` Larry Hall (Cygwin)
2012-03-26  0:14 ` Linda Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).