delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/03/04:21:40

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=tj6y8cTxuYJJARh1OH/RPZqQVGyZQEcp1KlPWGya5Hw0FuaJg9+P5
p5ZAN9mw+7aUITfkzBDbh9AynajDP4tBUSLZ7Cy89D8KW8ez8Ro+bdmBwCiVEV0w
uQ3gI6Fq1yPHDKcF3nrQNhVBz+rLl5GVTe8obHdc3j60/4PkHBrQ6A=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=GtLqQZKyscLTPTXsCiKrymdaN1U=; b=MRocSmGEQZ6lj9z3afB7mRbYbRkJ
blZASyx80ABzPjZ0L8tuF5fAuI67BchyoDg23/8Syezk3VpmSw7xx8qyOZzjHPQT
VG/nNTyz/n5jfyYt7WOJ4xnGbSJM0djEleLMzr0ubLYM9/HZiM9sPxtUosZYt4Kp
ge8G+uIfx7/lZ8s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 3 Mar 2014 10:21:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140303092114.GA26619@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140227094951 DOT GD2246 AT calimero DOT vinschen DOT de> <loom DOT 20140227T134714-188 AT post DOT gmane DOT org> <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> <CAKf2h5TjyeMxuw=XkqoGMC8A_f+LpSzcx5nof5ViUBQ-0sYXFg AT mail DOT gmail DOT com> <20140228210804 DOT GE2381 AT calimero DOT vinschen DOT de> <CAKf2h5QbafQq25jndf8RdDGWsp_MMfziBep2Pe1H7rA+OmOCdA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKf2h5QbafQq25jndf8RdDGWsp_MMfziBep2Pe1H7rA+OmOCdA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> I understand why it happens. And three seconds are not the problem.
>=20
> 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

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTFEmKAAoJEPU2Bp2uRE+gudUP/iT9CrJIEyAHaHcjco9Q9CvR
KMyesEqlAiKlsCU5pNorX5AK+wmwelB7tYRaCGewq5UCPup9U3g1VhLIylBSs3zr
E7/SLHJ8zCMDFUQBXosPc1LhiQbjTtPRG7g4KIXEPimJ1jphTOnQcagOat7tYj0l
WIQXOnEuVmlvFO8BeOefUdxq021h28IJnL+0s+UbyTFDqREzMlEQ6ouSc217W0id
bxZjLPl/b0oUzWbQo+8A5vzIwiwZm1593/6DfbW2QNNR0mUFJBgQQqGlTJQlJI8y
2zn2ieuzJsM8BXW0lY1Pa/WxHHD5WkBcANtmhxxdxMj6kHmwW8quw9DM1i87+Ash
oxI8u1qwDM/SqoB79zjsrbP/JJsWikJocMiE41u7Egl0aKCUCDbCaXT5WWXlQwO+
rZBOZepopJQddKJdCigy2HJVR3yGkQfRHJhV7IXoVZJdEg2q34J4SgXZNSqSdet3
QV1vf4cch2FFfBkiEmqsw3Brds5GW6Rr+7qwFfe27FCLiIdbCtHeNEy8nmVkUd6c
/ATXO+r08tBdykoE6G00PYGjhrZesK2ULuLyYb0jZBHHYRDvbZYPdKcz2yAPAXl+
sPs09iBuqkmkyroS6OOe97gPSFaXK9jWRe3X9Jxb9iLJ/LUccg3aGjEsdekhPS2H
8XL06hf48iVdEUSN424W
=V+p0
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019