delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/19/22:06:17

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=puz0iylIKOkccMB2
Ohun+q+yp75JEH/wsq9hk6QSzYzyX11jiSeBTUF/ubPlm9hjZzDiYtY3n8BUpplW
8mN29ckduorPEy5No059Fo0a6xbZudUFwrygVITF4Nl1qGEn6T3Y5l74LjV6RgNr
71GVQ0magS/nMODgOSz5S6EoFcA=
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=8msfPpt0kzLkWcg2z0wT3a
91d8c=; b=R8USGHQewGwbupuIvjF52kerea6AW4lUsjkqrdI7jta5TL6Jqc2WjG
DiHBYNo59ogs2y5m7eYSmUpihFLuW5v+J9BKnRUnAH8OB8H7Iu1OYY9Vdbf9icO5
lfrq6otzXGK8WP/fTD04CZxbnsJmCuT2MzNc6/xDW/loKirhswnyM=
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.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,RCVD_IN_JMF_BL,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 20 Feb 2015 05:55:50 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <343520570.20150220055550@yandex.ru>
To: "John Hein" <3fbmqnhaz4 AT snkmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3
In-Reply-To: <4693-1424392196-203662@sneakemail.com>
References: <20150218105937 DOT GA28211 AT calimero DOT vinschen DOT de> <4693-1424392196-203662 AT sneakemail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, John Hein!

> Without 'files' in /etc/nsswitch.conf or 'cygserver' running, the
> testing cycle here is slow.  So I've been a bit delayed at reporting
> back.  I know some people have alleged wonderful speedups with
> 1.7.35-0.3, but I can't report the same.

> Here I'm in an AD environment with ~8000 entries in AD (as determined
> by 'mkpasswd -d | wc') and I'm in 200+ groups.  I guess I'd call it
> somewhat large, and the network is geographically spread out and
> connected by links that vary in speed (the slowest is probably 10s of
> Mbps), although there is a local AD "slave" on the local LAN.

> It's particularly slow if I force using my shell of choice (tcsh)
> rather than forcing '/bin/dash' as the 'db_shell' entry in
> nsswitch.conf.  This is likely because of all the various things that
> get executed at shell startup (csh.cshrc, profile.d/*.csh).

I can't comment on this matter, but this seems RATHER suspicious.

> Just to avoid any possible cruft from my old cygwin install, I
> installed a minimal fresh cygwin.  The only change was to
> nsswitch.conf:

> passwd: db
> group: db
> db_shell: /bin/dash

> Starting mintty with db_shell set to /bin/tcsh has taken up to a half
> hour before the prompt appears.  I don't have a complicated .cshrc
> (just a few alias definitions & 'set' commands).

You can get a more reliable test of the changes to Cygwin specifically, if you
just run `id` directly (let's say, from native console, or a batch file).

> Also mkpasswd -d seems to be taking a long time (haven't had it
> complete in hours now).  That didn't happen with 1.7.34 - maybe
> there's a local issue here on our network.

mkpasswd is trying to pull up ALL records for ALL users in the domain.
Even with recent changes, I can imagine it taking a lot of time in a spread
out network.

> What's a good way to debug
> what's happening with mkpasswd?  Seems like its not doing anything.

Sysinternals ADInsight, as has been mentioned before.
https://technet.microsoft.com/en-us/sysinternals/bb897539



--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 20.02.2015, <05:50>

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