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=n+kO3MvgkP3wYpGPiWkgDn19/351+GZCwva5JG4Q6KXv+1RgMK9d2 XU4RJOJJh1SRjh2oq9eNTuZocoAHrJh8E71u+duF9DBHggQLDJfzEhGhfMlat04F XFEbkBsPpYQyHDtNNncc9ySgefdu7HKgvqxrwQ4C0KDCVeURAozNtI= 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=RsVRieKP4DZyoClrJ0fBD4hmUp4=; b=cbIL4dg/n1eB9p8TeZ4+PRrp1hu+ dPMac/8Tb4b0wNxWLwEQXieLI8sTWutqb5V+M+HQ3Ilxjip3eEv+pWrAEM3iK8Ge CCtR6kxeiY56uhYnJznjdqaRQAsLnK+v77dG3bsF73we9SnBumESzMjFASnCyxGl edWIOUDluxMUXnc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 3 Nov 2014 17:22:08 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.4 Message-ID: <20141103162208.GD28636@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1415026765 DOT 23338 DOT ezmlm AT cygwin DOT com> <352f4f69b0e3afa90974308099249e90 DOT squirrel AT webmail DOT xs4all DOT nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qrgsu6vtpU/OV/zm" Content-Disposition: inline In-Reply-To: <352f4f69b0e3afa90974308099249e90.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.23 (2014-03-12) --Qrgsu6vtpU/OV/zm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 3 16:09, Houder wrote: > > On Nov 1 17:58, Christian Franke wrote: > >> Corinna Vinschen wrote: > >> >I just released a 4th TEST version of the next upcoming Cygwin releas= e, > >> >1.7.33-0.4. > >> > >> There is an older regression in mkgroup. > >> A separator without a preceding domain name is printed for the builtin > >> groups: > >> > >> $ mkgroup -L THISHOST > >> SYSTEM:S-1-5-18:18: > >> TrustedInstaller:S-1-5-80-... > >> +Administratoren:S-1-5-32-544:544: > >> +Benutzer:S-1-5-32-545:545: > >> ... > >> THISHOST+HelpLibraryUpdaters:S-1-5-21-... > >> > >> > >> Introduced in mkgroup.c CVS 1.54, April 2014: > >> > >> @@ -415,8 +341,8 @@ enum_local_groups (...) > >> ... > >> printf ("%ls%s%ls:%s:%" PRIu32 ":\n", > >> - with_dom && !is_builtin ? domain_name : L"", > >> - with_dom && !is_builtin ? sep : "", > >> + mach->with_dom && !is_builtin ? domain_name : L"", > >> + mach->with_dom || is_builtin ? sep : "", <=3D=3D=3D= =3D Hmm.... :-) > > > > Thanks! It would be nice if you could send a patch to cygwin-patches. > > > >> BTW: mkgroup should possibly also print the extra builtin groups which= are > >> now reported by getgroups(), for example 4(Interactive), 11(Authentica= ted > >> Users), ... > > > > Doesn't make much sense. Generating them via "db" is incredibly fast. > > There is also one person on the list (sorry, don't remember your name) >=20 > Me, perhaps? (Henri) ... https://cygwin.com/ml/cygwin/2014-10/msg00491.ht= ml It might have been you, but it's not that thread. I'm referring to some discussion a few months ago when I asked for testing the new stuff in the snapshots. My memory for names is really bad, sorry. > My "nsswitch.conf": >=20 > passwd:files > group: files >=20 > db_enum: files >=20 > In short, no problem at my end: id shows the short list (as before ...) The question would be: What's the problem with the long list from id? Enumerating the builtin accounts is very fast and you shouldn't have any downside. On the upside, *iff* there are files owned by some account not listed in /etc/passwd or /etc/group, the additional "db" setting would still allow to show the ownership correctly... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Qrgsu6vtpU/OV/zm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUV6uvAAoJEPU2Bp2uRE+gOQAQAJhFgAV66arZPP8ivi9o0acl cnqGZ32ndZoL657O0W25bmmiRsB9Xm4B+pGaWO2PhxaJYcuKVqh7RCu6sZ/QKKJh dysyJ70zsw5cQRR0qdFGPzjJtvkvJpp6Yp5aLmC4Sc1+vuEaDrQluaCLc5IHcq72 x46lG//10K3jM21DQ5LHlzSiyUoOr1NmkAYfHQPa9n0nUlT6kjIA+1mH+zAhE7Ca FujZqsTKX7vd1awggGxSKHw1B+Hg+oa3iCPf8hzb2HBvHxTQcLgQSuqLwXWPitmj VReLfV6bWi/m3UUXZipfvsQu8dQOHPeDQ96bw/BmDpjrq2VcJicsrqU8ncOKrqWS N4VFaezzjwAacmV5eJxN9N23reVfoBHBqH+V/wRAFOc+LwIlPtHl+EezB9JYJfrB SBm1qV908v5yJnFwICybduQjcuXlPrcE6KdqdNs79qDpPZUmkXJfqxwC56CAJ2CA 6+0m2TGq4ruBhCa8WMBtJCj4jRgdXPFjs0BZDrteUmr7dkPyTsCXI1M5Ke/bl8zU bFc9J19pAMgyzl3GX1yNQUt51OC1G7mSFaQ/8ollUl2d7HpG8D6ST/DRebXRFEKe EeNNMZ+ihU21a6oPckTuKZhsqUHWSUvNl1SgFFxAKtsnolLsH55m9hj+so8LLo3r Trf3CeIN5N1cXdGRYqbA =8MRU -----END PGP SIGNATURE----- --Qrgsu6vtpU/OV/zm--