X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=dkim1; b=ciNvAW4VcVlpGyDKxs OLoCK5hVbyMExDp6NI6jW6GStbgN9okmXVlgk2QD94Sc1uUKXc3leCIMQSvKGVYb wx7rVxiWAlgAp0Z6HJFMVcJQkky5ScZtceUDO8s0f5x9MOqp9ex3jkUJph9HR/eE oRcggSiafuvWgrNNYWt9Eo37w= DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=dkim1; bh=Px05RDQQ5dteiHB3lSU3cgQl p/Q=; b=J+gL1nMl5fmxblJEskyYXMyVKEpOU1ua1WRAuTbNv7U2pmyT0inakWPg BJ5XXe02lfVN96vlzns7ml/PIP+hK8TN5SVlNV5KB4BGAexXYD4C7lkjVXOeuUhH f3ZOO+Yu7aJbhCb7MtHn39GSbrd7/i0qTaYsump+dBHqvAFL5wI= 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 X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-id: <51488445.8050901@cygwin.com> Date: Tue, 19 Mar 2013 11:29:09 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Logging in as a domain user takes lots of time References: <514163E0 DOT 1020606 AT samsung DOT com> In-reply-to: <514163E0.1020606@samsung.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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. :-) -- 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