delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/18/14:25:39

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=uol/3kDD4sKpdaQ+KqByCHTvMTKUD9OTd9AWDTBvDjRdZ6I4BNdlQ
fCV4eJ0r/GNvhdxGojbghw1d7nYFKdOg34XUNqzt84Fg40pnjESzyq4dpHIucu3m
TyThJKPowAYrYp88j4FPH8EtnvZ6iD6v4xOinKvqrjDmYSBWhnvbk8=
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=rGLZdAyqsf11j+ah8Fwet4i1BEc=; b=AAhCCaPL06WSuRx2OYzkjAQ7hESp
wC0BpX+t+tqVRPA6Wbd0TbTXMpUWvrnV8RIoaIO8ohY3atU7LNSG8VChlAdfTAhq
AcjKV9AAzjY20/iuztC6xdMBxp8zqvPc+is9+dToJoRejNBoHs2Y2VF2z4wHFBY4
ohcnbgDYN3roSFo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Tue, 18 Feb 2014 20:25:21 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140218192521.GP2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5F8AAC04F9616747BC4CC0E803D5907D0C48E864 AT MLBXv04 DOT nih DOT gov>
MIME-Version: 1.0
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C48E864@MLBXv04.nih.gov>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

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

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019