public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh slow login due to "USERDOMAIN" being set?
@ 2012-04-09 17:44 Andre Loker
  2012-04-09 18:16 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 3+ messages in thread
From: Andre Loker @ 2012-04-09 17:44 UTC (permalink / raw)
  To: cygwin

Hello,

I'm experiencing long delays (~10 seconds) when I try to login into a 
server running cygwin 1.7.13 using ssh. The symptoms are basically the 
same as described here: http://cygwin.com/ml/cygwin/2012-02/msg00844.html

I somehow have the feeling that it is network related, more specifically 
the problems appeared (if I remember correctly) after I changed the 
computer name of the server.

cygcheck -srv now prints

HOSTNAME = 'loker-it'
...
USERDOMAIN = 'RS200313'
...
COMPUTERNAME = 'RS200313'

The server is a rented root server and is NOT in a domain. Originally 
the name was  'RS200313', but I renamed it (in Windows' Advanced System 
Settings -> Computer Name) to 'loker-it'. I have the feeling that cygwin 
thinks the server is in a domain. How can I tell cygwin not to set 
USERDOMAIN? And while we're at it: how can I set COMPUTERNAME? Can I 
simply export the variable?

Please let me know if you need more information.

Thanks for your answers!

Regards,
Andre Loker



--
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: ssh slow login due to "USERDOMAIN" being set?
  2012-04-09 17:44 ssh slow login due to "USERDOMAIN" being set? Andre Loker
@ 2012-04-09 18:16 ` Larry Hall (Cygwin)
  2012-04-09 18:36   ` Andre Loker
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Hall (Cygwin) @ 2012-04-09 18:16 UTC (permalink / raw)
  To: cygwin

On 4/9/2012 1:44 PM, Andre Loker wrote:
<snip>

> The server is a rented root server and is NOT in a domain. Originally the
> name was 'RS200313', but I renamed it (in Windows' Advanced System Settings
> -> Computer Name) to 'loker-it'. I have the feeling that cygwin thinks the
> server is in a domain. How can I tell cygwin not to set USERDOMAIN? And
> while we're at it: how can I set COMPUTERNAME? Can I simply export the
> variable?

No.  These come from Windows, so you want to make the changes there.
Perhaps this link will help some?

<http://support.microsoft.com/kb/295017>

-- 
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: ssh slow login due to "USERDOMAIN" being set?
  2012-04-09 18:16 ` Larry Hall (Cygwin)
@ 2012-04-09 18:36   ` Andre Loker
  0 siblings, 0 replies; 3+ messages in thread
From: Andre Loker @ 2012-04-09 18:36 UTC (permalink / raw)
  To: cygwin

Am 09.04.2012 20:15, schrieb Larry Hall (Cygwin):
> On 4/9/2012 1:44 PM, Andre Loker wrote:
> <snip>
>
>> The server is a rented root server and is NOT in a domain. Originally 
>> the
>> name was 'RS200313', but I renamed it (in Windows' Advanced System 
>> Settings
>> -> Computer Name) to 'loker-it'. I have the feeling that cygwin 
>> thinks the
>> server is in a domain. How can I tell cygwin not to set USERDOMAIN? And
>> while we're at it: how can I set COMPUTERNAME? Can I simply export the
>> variable?
>
> No.  These come from Windows, so you want to make the changes there.
> Perhaps this link will help some?
>
> <http://support.microsoft.com/kb/295017>
>
It's totally embarrassing, but restarting the server solved the problem. 
Doh!

Apparently I didn't restart the server after renaming it and as a result 
cygwin got the two names mixed up. I had made sure to double check the 
Window settings and they showed the expected values. My excuses for not 
trying the obvious and thanks a lot for the answer.

Regards,
Andre


--
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-04-09 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-09 17:44 ssh slow login due to "USERDOMAIN" being set? Andre Loker
2012-04-09 18:16 ` Larry Hall (Cygwin)
2012-04-09 18:36   ` Andre Loker

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).