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=R48lz7ied7FkPhSOemmNdlGVoTSlmeQ8bberXTQFGgizU3nbBq0AY bh9WwC36V1PkwjabR3BxHsWGVTrTfpqv5/ZdXk8XD2X/wZRXjqeHFGgh2QaSfCoP WeFJeqGzwPxAEacsG1Bnwa2+L5qIln9KrkZx1Av83hKbRZsfDC5OaM= 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=aBOMzg+qQBx35N0wuXdQa7yeWjw=; b=K2UsV2FfKVf7EWwq7lEo64mo2/td ttJrFGTQDZm1SFyUCTDLuswI4TWxvOHEQSbNovKmtYu14Hh2V8RL0rybWwSIGQeq kzvuD8xoiHZxfcRRt8E6nmZh6RhRIFjOGmaC5UXDbvLed3P/LWEw8MIMe1nxWK2Q W5MvdQl1ZZJGt/c= 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-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:1401, translate, clue X-HELO: mout.kundenserver.de Date: Thu, 14 Feb 2019 14:39:35 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: More information: Problem with cygserver (LookupAccountSid()) -- interlocking with its clients Message-ID: <20190214133935.GF30859@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="udcq9yAoWb9A4FsZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) --udcq9yAoWb9A4FsZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 21:56, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > I was trying to figure out what SID cygserver was trying to access... >=20 > When I run ipcs without cygserver running, I see this SID is being retrie= ved successfully: >=20 > 359 2451151 [main] ipcs 10404 pwdgrp::fetch_account_from_windows: > line: This is the output from ipcs process startup where Cygwin fetches all token info. ipcs is fetching its own logon SID which is always translated into the above group entry with gid 4095. > When I run ipcs with cygserver, the SID, which looks very similar, > gives the errors and delays (it appears in the same order of > successful retrievals w/o cygserver, among other SIDs): >=20 > 5760469 59211317 [unknown (0x14F8)] cygserver 6848 pwdgrp::fetch_account_= from_windows: LookupAccountSid(S-1-5-5-0-82109179), Win32 error 1332 Cygserver is running as service here and is not part of that session, so it doesn't know the login SID. However, the code inside pwdgrp::fetch_account_from_windows should translate this into line: But even if that doesn't work as desired, it doesn't explain the 5secs delay on these machines. I don't se any clue here, sorry. Corinna --=20 Corinna Vinschen Cygwin Maintainer --udcq9yAoWb9A4FsZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxlb5cACgkQ9TYGna5E T6C6og/9GCkuKVfDcrqdE5Oqv6sNUvVEtQ/sp3UYNvCNuGjbiPvinfGeWFUGvSdE wAbdcVkYwt8USTjyKWRhyRzKsUwtecgoo0Aqck4UiJmcYccshK4Gpde4CLkVfvCm jZh5ZUgqbn9oB6+/ER6ke0DI5AqLQ/vm2MnEZLzlKXwxbEGxVXdwW/OA7+hGvHpI DsgnOCbYpFdAcvHE/xRBZmTY+O9KDNfCVf9Ywb5uYEk3Ek4rSLFLMjjSnh3tsxTh EptBK3mClMkDc5RVWqqm+NesFq39AeEkoHNBlPvtGv2u9LsbpZ6dQ6hI+hDKqvIZ vm2254GEGWi+mdOgmcthiXHTk8OgI5S7XGvqnoBk4rfD1+EfWBC9yTu6I3uLolqC baxJSQD2Ak7/v3RvykFQcKZfs4ghST9jo8LkzpXne9prslaKQ1QNMsHdzTGUEP+d scfqE383qj89qpXRLBrl6tl5HyS71Uy9F3Baa9nhmybZUxhv208KFbTdBsLq74yZ /pupuaLovWshJAPKva4vBnHdMfuFtMysI6Y3X0cmowQxwLIUi384YIEVMSQ+Ryzp bekVMDIWQDv77PfrPVATAHpMnmtd3uzqHelal7Iyqo0HMICzF/sVrnKljcT1JNYk 5MjYNlB7T0awepMNGOKIgaQ4EztHuOhtHoyV0IBzOIb4VqrHTX4= =xf4R -----END PGP SIGNATURE----- --udcq9yAoWb9A4FsZ--