X-Recipient: archive-cygwin@delorie.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=j0oPoJtL9hqKIyBJondb0QefCnMjNGRoTEy7byVaL2V99LbXdksqg
	El2Yuq68ceS1ddFHLhs7IXEVYktCDZdNyp6v/3ld6LR6yOq6Yu6jKFMk3PDtGdaQ
	ziwX21NlrWP1tPvqs2suQ2Cf3uuVZcKSKzpumPvvfSvv1hvbMKOlCY=
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=p+y5qHgWhG+gRUKdP1pFzHkpuIg=; b=bLf1UsVMzIs0dpPOmvTEJVNfHbRH
	5HZzMd+IXAhF77XHk6nAVGnIU/CvnGN+cjukGPdjFyV3bjVTv69fAyVReaHvZG9k
	hqwkYllUoaygs2vTyVgyQAZN3g9bJhHts0pEJyE91O0I54xS1ytljWu1DLpL/T+q
	QcR4At/IDeHbk7k=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 19 Feb 2015 13:15:15 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: slow startup after upgrade
Message-ID: <20150219121515.GG26084@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20150216210132.GM8493@calimero.vinschen.de> <7C9A9F7AB74D423499279676D7FA905A@Tamar> <20150217213255.GC4340@calimero.vinschen.de> <20150218111802.GM8493@calimero.vinschen.de> <7011F01FD056AE4083D6B2DBB3F2DAFF280C9A5E@EXMBX16.thus.corp> <7011F01FD056AE4083D6B2DBB3F2DAFF280C9DD6@EXMBX16.thus.corp>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="p8PhoBjPxaQXD0vg"
Content-Disposition: inline
In-Reply-To: <7011F01FD056AE4083D6B2DBB3F2DAFF280C9DD6@EXMBX16.thus.corp>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 19 11:53, Roger Orr wrote:
> I've tested again with the first patched cygwin1.dll:
> CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35(0.286/5/3) 2015-02-16 13:18 i686 Cyg=
win
>=20
> I can confirm the connections are occurring within the ldap_search_s
> call - here is one of the call stacks:
> [...]

AFAICS that's expected when enumerating accounts.

> Connection->Bind (enter username and password)
> (no new sessions)
>=20
> Browse->Search
>=20
> Base Dn - first naming context
> Filter: (&(objectClass=3DtrustedDomain)(name=3Dwibble))
> Gets 0 entries, quickly, no extra sessions visible
>=20
>=20
> Click 'Options'
> Select 'Chase Referrals'
> Click Ok
>=20
> Search again.
> Gets 0 entries, takes some seconds, and establishes nuermous TCP/IP conne=
ctions.

Hunting down the other DCs I assume.

> (1) LDAP_OPT_REFERRALS is on by default
> (2) The fix added CN=3DSystem to the Base Dn - this seems to turn off ref=
errals

I don't think it does.  The domain info is available on the DC you're
contacting so it doesn't have to ask others.  I assume here that
"wibble" is no valid domain name ;)

> --
> *aside*
> Sysinternals "ADInsight" is a 32bit only tool and, in order to work on
> a 64bit Windows you seem to have to manually inject the DLL
> ADInsightDll.dll (which is extracted into %TEMP%) into the target
> (32-bit!) process.

Uh, too bad.


Thanks,
Corinna

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

--p8PhoBjPxaQXD0vg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU5dPTAAoJEPU2Bp2uRE+gtnMQAI5OeHz3c45e6wyhSQ4i6OXF
t4OsGDMkeL0P63DjWKmaTA+dvIHQy/Yk6jGVJIYE7KuDBvNICVsbdgMB733jnqsp
KGm8Yqk9LNh4xpLvCjVpogOSPz4qQeYnhWNcONF634t6afAknEW6kxuem3KZZC7A
HFApPTfkF5wbETjooni8TGWIlaRZoDV3WpNqN32OHGKeULd3hs2IzxwMz7esvzb3
D62UVLtFvjpLkTRWlPidrSW38WrucZpAiznYnTRqynGoNQ0iSc6J4MTT3KkWUu3l
KSquRcuO7QQFMZGq18R8mB8p8rly+c8VyxRwBCfYqYZxRKBXwsN/aXBWS259rqQU
lehQgnavWhxpuMpxVTR8T2o93AJnIdgXbcL3Xr4Cnf9XhMdAIxIPtHgwFYmXTNsU
ti9FWJPP33ctzm1K97ahD7A1DTqvFAo2AlAAsF++/5oPoC14PRhIj0ulaIbFMTO2
cQYUcVmWmfGgq5Q3G/uRhEf1B3JcX7xtsxAGD/enKuP+vS4N6cmq4l2Fdpq6jwFG
bPY94LLA4CvFhfGWTRyiQNG1qiJlMSYKONFSyimEJAmqwbrUYW+T4ZTDEtMUxzLN
EXlgiyUiLAaEWLKPWmqf8SVwdac6Q7iqScbYJRJ4kXoIxqQEHcAqCTurdizbxDTA
8TboyvX5tS14WnXrWvhQ
=EPPW
-----END PGP SIGNATURE-----

--p8PhoBjPxaQXD0vg--
