delorie.com/archives/browse.cgi | search |
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=oRgKnKVrFXRDcK9IURlBPlOBtHYOmFONsuslHOjuzJW4i9nRk3beq | |
p6IKU+xtiwfhm1kuM4SIFATZtZC32n4GW5UbsPkgYdlO6YZVymZVlixEBXlCxypy | |
vyMyfQoZ/frvvfJwD4Y2wT4C3/bam3/qVMCE8mQ3ioCcyis9XahzP8= | |
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=CxNmvvYek1fFRusvTsFKIwhjv50=; b=tbc79kVvHCbN24IXKd/COGnqcaHu | |
2Lc5ImTYcC973kmq0yh3VCPW4F2RvQijBfqZUcCLe+ZrIOYzLiyiHNZNaOJ2GgFp | |
CjGPJDR8IJaFsR7GS5GYaMzrcPnwk0UHNKQm2Mr1ptUrGTk0aO0s9vzIjhwRxqPq | |
/P1vHuC5l+ULO9Q= | |
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 13 Feb 2014 20:56:48 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: get rid of getpwent? |
Message-ID: | <20140213195648.GR2246@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4510121021 DOT 20140211062515 AT mtu-net DOT ru> <52FAB14C DOT 8060800 AT tiscali DOT co DOT uk> <52FABAF5 DOT 2060701 AT etr-usa DOT com> <52FAD730 DOT 9090507 AT redhat DOT com> <20140212090804 DOT GM2821 AT calimero DOT vinschen DOT de> <52FB9E51 DOT 7030607 AT cornell DOT edu> <20140212195931 DOT GA2246 AT calimero DOT vinschen DOT de> <20140212213729 DOT GA5589 AT ednor DOT casa DOT cgf DOT cx> <20140213100025 DOT GB24159 AT calimero DOT vinschen DOT de> <87eh369a24 DOT fsf AT Rainer DOT invalid> |
MIME-Version: | 1.0 |
In-Reply-To: | <87eh369a24.fsf@Rainer.invalid> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--Mh8CTEa8Ax54aLHp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 18:50, Achim Gratz wrote: > Corinna Vinschen writes: > > Caching is wonderful for the usual requests for single entries from the > > DB, and for this we have already two caches, the LSA cache and Cygwin's > > own cache. But caching doesn't help at all when enumerating. >=20 > Would it be possible to only look (for user name completion purposes)=C2= =A0at > the current user plus whatever is in %SystemDrive%\Users plus whatever > is found in /etc/passwd? That way no beans are spilled about domain > users that couldn't be gleaned from the local file system and in almost > all cases that's the list one would want to complete from anyway. Oh, hmm. Well, it might be possible, but somehow I'm not excited by the idea. While it looks like getpwent is mostly used for this purpose, you don't really know it. I think I'll try to implement it fully and then let the admin decide what to allow. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Mh8CTEa8Ax54aLHp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS/SN/AAoJEPU2Bp2uRE+gKCUP/2qQcd38aEhzcm7QwGLy6zmi kgpnsvG+j8OFlsz5+UFW59kIQSF0JU7UuX8zhTYYFNE+SgVlfvXnqX5OaND4Hbhw uY/VoswNhyQUAgslGATlYEZlZvJzodUzyrERzBH0bMIAXsA1QrzX+XACQnA9PcV5 Y9iDHl1qQP5XdYTmvQMsTKgDIViPqstqHNico8iCKVLk5ZKjKmCQpL8+TFymsWQz S1neZunPJUt6fPIK+jtUyp22izwuuFQ5Wn7aKBn56rFL8utrGXzAOXb+h0ySDFfF YuYgPVZQLcl0ZLWWhGs+9//+rym/EgWSSkMS5MDDeB5iuGlWg2dii4W7NnjO9c4W BPEjwKyyFrSLpOW5O65/rnVxas2zcVpQW9w2sMzs/1gPluP7ANF5Egum7yx1PlRx kjsdxqX27bBseTPvOMYWnADpmLosx8CcbYWGh42R3wYLaSFx5q+BHtdc7k7V4FJw vUPVXFCA9AJ4NIdp2KCcL9FGpvwx5HTRNxON6YzDE0/fl4oB7Q55N3bIFAqglbga gVZrHuN4dVKfudwLHSlg867U1BsTx8BQoMHlQ0xH+rRavYYN0erVWGq2i9qazbMl QfoC0EieJ2he0ctmhaL1jtF1ecB3NiPELSbVdrUXoOOKsJ/4qII8LmXDQWsXBlMM gJcGyo6C0BfmfYev5nYN =F5+p -----END PGP SIGNATURE----- --Mh8CTEa8Ax54aLHp--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |