From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71014 invoked by alias); 14 Feb 2019 13:39:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 71005 invoked by uid 89); 14 Feb 2019 13:39:40 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Feb 2019 13:39:39 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MXotA-1gZHPg2T8e-00YDLX for ; Thu, 14 Feb 2019 14:39:36 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 01406A8044F; Thu, 14 Feb 2019 14:39:36 +0100 (CET) Date: Thu, 14 Feb 2019 13:43:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: More information: Problem with cygserver (LookupAccountSid()) -- interlocking with its clients Message-ID: <20190214133935.GF30859@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.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) X-SW-Source: 2019-02/txt/msg00149.txt.bz2 --udcq9yAoWb9A4FsZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1326 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" Content-length: 833 -----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--