Logging in as a domain user takes lots of time

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Mar 19 15:29:00 GMT 2013

On 3/14/2013 1:45 AM, Fedin Pavel wrote:
>   Hello!
>   I have problems with setuid()-related operations. For example, this is
> experienced in ssh and nfs servers. If i try to log in as local user,
> everything is OK. But when i try name of domain user, setting uid takes
> significant amount of time. Can be up to one minute (feels like TCP timeout).
>   Windows domain logon works with no problems. Is it known issue ? I know
> that i must run services under special user, with "impersonate" privilege
> enabled. I've done that.

If this is working but just taking more time than you expect, it could be
something like a networking issue.  But if you're looking for some insight
as to how you might track down where the time is going, you might try
stracing the process.  This should help you localize where in Cygwin you
spend the most time.  Then at least you know where in the source to start
looking. :-)



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

More information about the Cygwin mailing list