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:from:to:references:subject:date:message-id :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=oN2ote4RyePl3KJK/tdb+Kq+M79+xJ 3O/+0tuGqr2/r74qRMTwucFfOuXl/njQU9ofRoJqdsa52W4xn/etfQPs+F3K8OYP 6FU0Vj0WtAMIbtq71Fdtt+p62cEOxtgoGInel2qdkUV6IhxLb3dYs09zLIcsnEjD FHlTWFp9A29u4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:subject:date:message-id :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=+67r7TGa8FQupCgR30IRVF3Qvcg=; b=qzH0 e4LmSOZOdfW7rCNDwiuRDoJcLeRZi/zY/ROgVfVZwf7DIC5hhrdigksD7d6W3ebX PyGrbIbMybBB0UnU/po0D2+VMYSvCmzS/aUw8RLEPBKU6qv5O3XhgiRCCrpWw4Qi p2buba4X4NirDfYK+2unQWXM1nQErlGKtGHBRhU= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta01.emeryville.ca.mail.comcast.net From: "Andy Hall" To: References: <20140227094951 DOT GD2246 AT calimero DOT vinschen DOT de> <20140227134632 DOT GG2246 AT calimero DOT vinschen DOT de> <765945729 DOT 20140228031219 AT yandex DOT ru> <20140228120748 DOT GN2246 AT calimero DOT vinschen DOT de> <87y50vc910 DOT fsf AT Rainer DOT invalid> <20140228201047 DOT GC2381 AT calimero DOT vinschen DOT de> <20140228210804 DOT GE2381 AT calimero DOT vinschen DOT de> <20140303092114 DOT GA26619 AT calimero DOT vinschen DOT de> Subject: RE: Testers needed: New passwd/group handling in Cygwin Date: Mon, 3 Mar 2014 09:24:50 -0800 Message-ID: <1C5507C6F4164CE6BE26066D6EE886BF@ahallpc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20140303092114.GA26619@calimero.vinschen.de> X-IsSubscribed: yes > On Mar 2 14:20, Frank Fesevur wrote: > > 2014-02-28 22:08 GMT+01:00 Corinna Vinschen: > > > That's not really a problem but a case of "it is as it is". To get the > > > user and group info, Cygwin has to contact the DC and/or GC and then > > > runs into a timeout. Right now, the LDAP timeout is set to 3 seconds. > > > I don't know yet if it's such a bright idea to lower this timeout value. > > > > I understand why it happens. And three seconds are not the problem. > > > > It is just a bit confusing to activate the shortcut and for 3 seconds > > nothing seems to happen. First time I double-clicked again because I > > though it wasn't working at all. Obviously a bit later two terminal > > showed up. If mintty would should up empty and "wait" those three > > seconds before something happens it is more clear it just takes some > > startup time. But maybe that is more a mintty problem. > > No, this is not mintty's fault. You have to understand that the > request for information from the DC is called before the actual > application had any chance to initialize, This happens before > the application has, in fact, been called from the Cygwin DLL. > > Therefore, if the three seconds are a burden, there are three choices > going forward: > > - We reduce the timeout to 1 second in general, which could be a problem > when utilizing a slow VPN conncetion to the DC, > > - We allow the user to specify a timeout value and set the default to > 1 second. > > - We stick to the 3 seconds and users should switch to files (/etc/passwd > /etc/group) when being offline from their DC. > > I'm really not sure what the best way is, I guess we as a community have > to dice this out somehow. > > > Corinna Why not have a command that allows you choose whether or not you are "on-line", that is, currently connected to a network with a DC or "off-line" where you are not. In the former you consult the DC in the latter you use the local files? That way you can leave the timeout at a reasonable value. -- 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