delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/03/11:05:31

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=hKyrIKEeybqof0N5
aCdGL9uBYekZXB8bTaQZ7EQRlGr3vJjklgoEJt9Bjnm9UdIQWc6bh5MJKtqxh9mU
iudz/549i4IrQJYbREqd5whRNEtFGquOHYg59e3cVnwp9MhoNOtEVTwuYPvECk7X
1kuYJZAz3qAjmpgXO4Va3AN2Xs0=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=BVUuK2k5FFlXzsJU6mlGfm
me/QY=; b=paW6oXX96i0ySuQZd9rQ4rmtvz1CZVqtwHZw+pzzBTV8LIoC1cOkqG
uScZhdIMJzULZIKHbq9qZIgEvIPFZtePafszX874+nPHblauGWJDHAft3H6vxj7u
H5qOAex+PRkRJu2UfLuAOQGiN+9IUmVutEtimGzq2R/Eb96JOlu3o=
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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Mon, 3 Mar 2014 19:52:07 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1686957830.20140303195207@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: Testers needed: New passwd/group handling in Cygwin
In-Reply-To: <20140303092114.GA26619@calimero.vinschen.de>
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> <20140303092114 DOT GA26619 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

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

I'd say it again, "sane defaults are better, than alot of options". 1 second
to CONNECT to domain server is more than enough time under normal
circumstances (for comparison, default DNS _roundtrip_ timeout is 2 seconds,
that for a whole conversation sequence).
Leave the connect timeout short, and if certain users are unable to cope with
slow connections to their domain controllers, they can use less pre-caching,
or switch to local files to speed up uid/gid resolution.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 03.03.2014, <18:40>

Sorry for my terrible english...


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

- Raw text -


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