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=uMaIpWMzN55ZOfAirT1cEx+Uov5KlJVEDM7gGAhmlWjCLfpvJ78eA qJo6cnShHKznlkFcth2lJjJpZzRqi1qUFd9sMbH5jQDE0z0UYY68Zp07jXxlTe0W TXIxFWzy+q11Sc3W8jxglQpf7aW2ir3462+gzcjCKdW41dD7b2Hxew= 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=BVhIsvFGMFdaEwNjm1MsfC+sfNM=; b=HsnRoY6MuJTMgpQ0XLtDfYizzL+R G5P2UBqMvoElXFCwA7IT5g53G1vHK29RC+RImLp1tO2Tq3AMlwz9niwgqQWcy2Hq w2Ja629Hu7+f3gMWZBCpqrsho4/r/MW8MQ3tQgTNS6P5g2XCy3ifGNyxQyPx/pot /6MzYevxa/U8u+Y= 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: Tue, 18 Nov 2014 16:59:09 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] New package: getent-2.18.90-3 Message-ID: <20141118155909.GE3151@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <546AE849 DOT 2010002 AT t-online DOT de> <20141118101008 DOT GW3151 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PaACFu8FWA0UZxdw" Content-Disposition: inline In-Reply-To: <20141118101008.GW3151@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) --PaACFu8FWA0UZxdw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 18 11:10, Corinna Vinschen wrote: > On Nov 18 07:33, Christian Franke wrote: > > What is the future way to map cygwin group names to windows group names? > > Unlike struct passwd, the windows name does not appear in struct group. > >=20 > > "getent wingroup CYGGROUP" with some help of a new cygwin_internal func= tion? >=20 > I have something in the loop but... why do you need this? >=20 > Consider: The Cygwin accountname is either just a name, or it is > domain+account, or it is machine+account. So, whatever it is, >=20 > echo $cygwin_accountname | sed -e 's/+/\\/' >=20 > will always return a valid Windows accountname. https://cygwin.com/ml/cygwin-announce/2014-11/msg00037.html Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --PaACFu8FWA0UZxdw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUa2zNAAoJEPU2Bp2uRE+gQzwQAJzVtjXEHKLXSecaEJWR3g60 RCPJ5JCQqit1c7i4abj1iuD+LHdxWFYS2mbHqIGdOGEFIUL2OtydOGPUSjJjT3u1 HBIut9zPZyIlXiSBo50dHbTasN/QFGCp0ame/odejng7DtMt/zco4STVU/JIA8da RMzPQc8TOC3/z2/mMbnq8z99pc7B6ShAr9E530yJYmWHTt+iQawEkADi5RMiZa8y 3n0bjfLnyKOcud31YDS4RI6UDoixSFaW6HUf+/uww5H9xH/DUeu3UW0dYrDv/AIO aks0pIJVcTHZv58WG7WQw5iUwffccMTdqWsZfyCtNjnYZnT92xNK6dwND+flvPfp nvjWG8dWiZMStyOlZ+qlDXVeKfmmsImvL5kwuSy4h9mYzHF5Izv31plXUE5WhoIy JAk55b5LrVhcOybFhJAMDsQVDigAavzsnGkxxirGQUY23ak4aMs8npfpIQ155pwL xkaP/sSbejpX/uc/r64kocBRI055MIP+KaHiHwSijG9GItYep0UpjgjlQK6JrP/e 1kf78vwkTLQOnQ9+ovbgy+S4ABbGu9NtXOqpb7JXiBORBisFOiwWW/leQ3s1hd/D +qDgJ1C3h5cfLF+MOtX7NcMDSen+gUUp4vEpBZcam4rNDccIBBAOVADPtgmdYV5d M8jcChkeY0xMCbiIpDkU =yLBz -----END PGP SIGNATURE----- --PaACFu8FWA0UZxdw--