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=AqtaDYa6lC2ckHBzMEoOzmEqkW5IzKHi6WhXz0uFUvlEbnuBgK+Wa WmmfaBcm8rNb8tfRPcvdI0mmkv0o72ezHkFqTJpuUzA2XySBmwx6sM5V4U+usW4u VT+vWR+kqXJeuhd/kc9bhraHf4J89l7ckz+RKYkyjf0rGcd9SzmrWk= 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=N4vxdpoZlVQ1SmQqbDKTbEHIG+Y=; b=QOkpIJMdtq31sOaAmaXZGxSDa0+W ocrkvqWSqqnt3fi2zU85GQOjzUqhtjNrAKKC+08TQoXDJAUr785YolL8FoDAXDwP Jtu3DGnUGOaX9F3nKBHXHbElVew1ZaOWyynNFvPRQlncSBEHNO1HLfAZ3rAom0Hg O2sFAXIdZXnhY5k= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 26 Feb 2014 10:57:26 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Testers needed: New passwd/group handling in Cygwin Message-ID: <20140226095726.GQ2246@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <87fvn7cb68 DOT fsf AT Rainer DOT invalid> <20140225200414 DOT GA4238 AT calimero DOT vinschen DOT de> <87y50zaqjb DOT fsf AT Rainer DOT invalid> <20140225215423 DOT GA6065 AT calimero DOT vinschen DOT de> <410298838 DOT 20140226061715 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FBuNgCiMB8ECSJ0u" Content-Disposition: inline In-Reply-To: <410298838.20140226061715@yandex.ru> User-Agent: Mutt/1.5.21 (2010-09-15) --FBuNgCiMB8ECSJ0u Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 26 06:17, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > > Other than that, I just had an in-shower inspiration how to speed up > > `id' specificially. The getgroups(2) call is in the center of this and > > I could probably speed up the stuiff a lot by opening the LDAP > > connection in getgroups only once.=20 >=20 > Isn't local SAM database augmented with domain entries, when machine is p= art > of the domain?=20 No. The local SAM only ever contains local and well-known accounts. Side-effect: Even the supplementary well-known accounts defined in AD are not resolved by LookupAccountSid(NULL, ...). Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --FBuNgCiMB8ECSJ0u Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTDbqFAAoJEPU2Bp2uRE+gb3MP/17DXMfp/Fxj+4uqkhz6OI30 jdS3sjNlepi1UGMNCxuhSykOUyihYHxDDELMxgzzbq1792em/H+d61oJiTqKoSFO IWPQac9btLV30B0zeakR39bie8QUN1t+zwP+tN5wcxs0SR79z9xpwBVvducdP5bG 0jGoK3zrd7HyTvDlu4AJs+HVqfbOi0Tjg0tEYB01S74rU0WzQCpBA0OjWuo3iT08 d+nBYr7hbWeV1rmaqWfe6b3w2iHuL5X4nzu8Cz04RyZZTKlG8cO1GEba4aheUPVW HSZo4CQfQHIfsjAG0RuuRews09jvZgHatZ6IyAJ7Yev2eE/p3r/KdYbU0rvsViDE b7T5kHfPxj45ZYfqLeIYnnWrCLDYvb2LKMOvb0ie06+ct1HsoD4AWTQRi/6jiFDn 0qyzt0ww3VNOHPXVW2QRDNGm8Y2nj6RAD/pztQ7kc1qoHXRtCo6iFW1pOxpuTvi8 0dUyJP4AZWr/IU12C1bWy3q1o+bTGx/hUfCVt6kGmxr74H2vdWMMRmrCGx2XwpiO HNMPMvc0muErr39/toia5WSDQkkGkhTkFDSsNPp0ltAQlTX8wCEOexFyuQmaD6yx Wiqbfp/xPX4DQdYYkY2Zz7JJ2jO8oFffWNu3nbrRWqHqiLX/+diIC09jcONLroTK 0YM63itL7i9qrJpR6LHr =UjGa -----END PGP SIGNATURE----- --FBuNgCiMB8ECSJ0u--