delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/18/01:34:11

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=L6PfI7U8HTqJgcxPL1exdjFwFu3zeWIRrGu9fP2h5uM
gJGHDtt6AoT8qoMgoX69qZjqbKrPisNMTxKvWr/HSCsPv+X1iZY0eW3avzjwgkEq
fxcJQKjdmKs/s1Ay+aCzvLsnuHcTHewftu0gqX3LlMd9ICQjfSRdb2jwossoI60U
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=55synchTpiXUkTErJIDabcMXk2Y=; b=q9zMBjPiuene/8nXI
b71197k91QdQyYFHQY9fhgknTGhLGc8iwib9j+r4RPsaLjOmlTiZeqF3zORQgslN
EWDHjaZo8A6rJBiffAhqOz0tEhNJGZqIMPh2gMJglpSuiq+K4VMuQCRJfPwpt/8w
jJ7eVlJ5veiTUkJOqeiNQJc/44=
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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mailout03.t-online.de
Message-ID: <546AE849.2010002@t-online.de>
Date: Tue, 18 Nov 2014 07:33:45 +0100
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: getent-2.18.90-3
References: <announce DOT 20141117170744 DOT GN3151 AT calimero DOT vinschen DOT de>
In-Reply-To: <announce.20141117170744.GN3151@calimero.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote:
> Hi folks,
>
>
> I just uploaded getent-2.18.90-3.
>
> getent is a Glibc tool which allows to fetch host, passwd, group,
> protocol, and service information via a simple tool.
>
> The -3 version introduces the ability to ask for passwd and group
> entries via Windows username/groupname, using the "U-" prefix as
> in Cygwin's pw_gecos field:
>
>    $ getent passwd U-BUILTIN\\Administrator
>    Administrators:*:544:544:,S-1-5-32-544::
>
> You can skip the domain name.  In this case getent relies on the
> default account name resolution order of the underlying LookupAccountName(*)
> function
>
>    $ getent passwd U-Administrator
>    Administrators:*:544:544:,S-1-5-32-544::

Looks good.

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.

"getent wingroup CYGGROUP" with some help of a new cygwin_internal function?

Christian


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019