X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=IRlx/vTB11W/plLGG7C5RnaRlE940Es4bBL+WS0/kK7aQwrIzrSyW
	zZyJtsVmN2x4SSCdn2k73aq9+bPVW5cdR9VCk9MPdeSmpTdswdTW8JrLEewQTLPu
	/iViQNsigpHXDORAEaoLuVSY8uhlJwYbitiApvGTFaBFpbGr1K4pYU=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=zLORPu4BM1N+tP8OkO0OG6Sf/ZY=; b=WywYYQY/dgkSy+57Ys5f9UVBokMS
	9vVRvffVDaICvmkNXCvXyrNP/A5UEAgPF7Zt3WT9Kp9sPmEmAXy+XqnZcwLZ22E8
	iz/2kk9JH+T0TL9QubJuqCsBU3GZ3CzEgEZx1B4U6/0OJLj72h4SEOKwwZr3xEuY
	4vvMyV2DBs3+vQk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@nexgo.de>
Subject: Re: get rid of getpwent?
Date: Thu, 13 Feb 2014 18:50:11 +0100
Lines: 19
Message-ID: <87eh369a24.fsf@Rainer.invalid>
References: <52F92D58.9030408@etr-usa.com> <52F95D1D.4050108@tiscali.co.uk>	<4510121021.20140211062515@mtu-net.ru>	<52FAB14C.8060800@tiscali.co.uk> <52FABAF5.2060701@etr-usa.com>	<52FAD730.9090507@redhat.com>	<20140212090804.GM2821@calimero.vinschen.de>	<52FB9E51.7030607@cornell.edu>	<20140212195931.GA2246@calimero.vinschen.de>	<20140212213729.GA5589@ednor.casa.cgf.cx>	<20140213100025.GB24159@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
X-IsSubscribed: yes

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.

Would it be possible to only look (for user name completion purposes) at
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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

