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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=pPIpAooMZTIt8/IuT7c7iFz+S1rZqvu85IZIkokqFF1EkIIMge2Ki
	icz3LzCjHGD29YQ4O7sgAEGSZAwEk/Jedd+/yGScPz52oSkRd1Mj2yL1VfZYwdV/
	+IQvSww1QmIkcDe3QlJEkXYSi8OSsvWYKn16lDUa265mMPLeXSpBXM=
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=9cwWnyc0M5+UBNTfBQVd8lxPjY4=; b=dWhRGEvuhF71aSTFl5EiWWpOXffq
	pgW9DbHKCAQ1ibv4YWOw5nR7GQYFlez3qBvEtUHBv7bkEPt7uqVeUc+L833TPWLP
	VcVEFPDTr9wkG6dhZ9s1xkzfDzwit+JmEWVQIXe/YEDlCBijSiJrgSeV7Vq2Lue3
	EVIYZPA2rmCQUQ4=
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 14 Feb 2014 10:45:04 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: get rid of getpwent?
Message-ID: <20140214094504.GT2246@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <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> <87eh369a24.fsf@Rainer.invalid> <20140213195648.GR2246@calimero.vinschen.de> <87k3cywxsy.fsf@Rainer.invalid>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="ShzQXCswyqjgWi6k"
Content-Disposition: inline
In-Reply-To: <87k3cywxsy.fsf@Rainer.invalid>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Feb 13 21:41, Achim Gratz wrote:
> Corinna Vinschen writes:
> > 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.
>=20
> Configurable would be OK of course.  I'm not sure when I'll get around
> to testing the new snapshot, but I can certainly try how long it takes
> when I do "~<TAB>" in the shell.  IIRC, mkpasswd took several minutes to
> pull down the domain accounts (I've then deleted all but the handful
> that was used for network shares).

Keep in mind, the search in getpwent/getgrent is not yet implemented.
You only get what the application cached so far.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ShzQXCswyqjgWi6k
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS/eWgAAoJEPU2Bp2uRE+gmJEP/ieQ4D+ciVeyksJ91mhgPvBf
VPx0uNzLkdmAAFoMRq5+x6nxuF41J44fae+0UagSffsatAhXBBrqxYddKm/NIEsA
EqdoJHGkih7vuqyUJcB+FTPl0AAmEGGP5inIprZABDg3X8tBPDfdDTFlnQgUZolP
VaWHKdPP2Ybdpt3EjYjP8PoyNCRRKT0Bz8cDznz0SipvScc64x8JrtKa7LX9JnXZ
Fl/gxVWW7WTXzT0xvBesAhjWd6TPX9oMu0/brCUtJthUmARJxln4y/oe/ROjilyD
iKOheyqNfxEQ4PXQeDLU3+x4QZCFOF/NMrOly9j/vzcgBC3Rkl7xNEhldbk6K1Az
852pPeZTIcZL2En8gr+jYzUh4VEiPX+N6oCS9kby+gSHKl2xPd0bmQgJsvtx4xCw
50ue1rzHYj/h9BYcpG9HrMlgFtsLo5W4oWz0X3TRUIhJhlT1YWljZOY6P5B4ruEi
X9mkvM7mJSmb/M6Ibnqe2HHsD2+mCO9tZdPHym0aWrOEwDB8eBbOxtVII6orcUrW
gbrEGN4jbMFdf5E/ZX4opGY4Szspuzk5qyFRQdGOdfK4csV0GzCXbUGeRgYcarKG
N5YWrdNLzuEJjjDQnvoy3xtdEpyYC1ynTumSpU+emWiIU3jEXuWfYj2Nr84jTo+2
Z9R5NXrEjw7/5MfYjNOz
=p8of
-----END PGP SIGNATURE-----

--ShzQXCswyqjgWi6k--
