From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12652 invoked by alias); 18 Feb 2014 19:25:24 -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 12642 invoked by uid 89); 18 Feb 2014 19:25:24 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2014 19:25:23 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 84CD35208C4; Tue, 18 Feb 2014 20:25:21 +0100 (CET) Date: Tue, 18 Feb 2014 19:35:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Testers needed: New passwd/group handling in Cygwin Message-ID: <20140218192521.GP2246@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5F8AAC04F9616747BC4CC0E803D5907D0C48E864@MLBXv04.nih.gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xzjdnLf1/heGxxoo" Content-Disposition: inline In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C48E864@MLBXv04.nih.gov> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-02/txt/msg00484.txt.bz2 --xzjdnLf1/heGxxoo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 957 On Feb 18 19:18, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > This will not work (verified!) for code run from under an unmanaged > Windows service account (NT_Service\...), once the machine changes its > password per security policy (the access then becomes anonymous and will > result in only first 100 entries returned): >=20 > winsup\cygwin\passwd.cc: > else if (group) > ret =3D NetGroupEnum (NULL, 2, (PBYTE *) &buf, MAX_PREFERRED_LENGTH, > &max, &total, &resume); > else > ret =3D NetUserEnum (NULL, 20, FILTER_NORMAL_ACCOUNT, (PBYTE *) &buf, > MAX_PREFERRED_LENGTH, &max, &total, > (PDWORD) &resume); >=20 > This is what I was trying to point out, in my earlier message... These functions are not called for domain accounts, only for local accounts. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --xzjdnLf1/heGxxoo Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTA7OhAAoJEPU2Bp2uRE+ga3UQAIl0BADdjenwueUc3S2vDxkq NTyByz9MpKP4GCGWh7LiINuJqEgH6gUlOrLk8+BqnC+APi2qHHcJNG/AdkRpjt/R qvB0tbQV+3J2aaApBdZpgOqAxYSBtS0SBW+/qIR9r9XjBySXFp0mW70GoaddgqzJ uj3gdjd50Y9k7wAoFw/G7nRrf6dMfhrcdgmZaoTN48SRSu4k2vRc1Icx3VCWdN55 0jv261igJJFaY6ZZ4/xFEuiH7pbnhPrpwgaCg9Q8VbqQ7d3nr2cbNoAX7Q+hWhew jhfmpKZbAfU7mhTfAj5eAc7w2lJJScRNKsNL5oFtb7HS9LlqFatkYpIy065WwMD7 GqcQGCjP18Wm1otJwQ7vL8lTVcXmZa9hQ7xI/nWiUQKgLYHW+PeK8onU0Cf7X5R4 u8aZ23qTpAb47rexTMLIJgim0V5BUi3ntEHWzVJ4Uxc685dLviIpSpjxlAwtooPK RGsoRplyWuiIVipYivOYmyUM/arajKaQ/3eKEuE1W9408/mQcaSnQ8Die9xWgHB+ DpGSG8gxUMM4uxvEplHkAxNThAUNqb8ozx1BJ7ozhRsgaRoGGRkgVJomhvCEryS1 giXy/hV62q+W3tD4ENK+69brOF/mdcbmpR4x0UcgrRnpJxA8xBwiT9VNEt8a4Cbz GTJUmES96V2adUE+FzIb =CQce -----END PGP SIGNATURE----- --xzjdnLf1/heGxxoo--