delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/13/13:50:59

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=HUWMbkp0w8MTRVmOLByVUaaQCEaQBs8Zy1fzNlY2YWg1WXcvEgwHT
5W6+WLG8tteocdsgjWAqRyAz8Ddq8HcOb8r/8xQEReYS7PP3uzqheYEO1K/VrFJ9
mSWyalCdRZ7SKlmC/7ppDqoWEnMJy6jFnmvfOd99NiLU6jrtziJg/A=
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=NvpBJIGcdeJg7vVSxIIGibAvb0c=; b=oVE8YMYgwQSdd1kcCFpCqC/RnRfq
bMd8ZcddeF8c6y3e7A09EbUYxP+inq9MwUWTWwUyr7RplnjM9ljtJaSuYdMIWMSb
HMqIxAva0Hlg/Fm5PWf1lPH9K2srllltrLeFRyTpAyfI3WRCmjUGdWUKD1Jrzgp0
qCHoZs3w3QkFfgw=
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
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_MK autolearn=ham version=3.3.1
Date: Mon, 13 May 2013 19:50:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Why mkgroup does not list group members?
Message-ID: <20130513175045.GJ8890@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5F8AAC04F9616747BC4CC0E803D5907D0AF7961F AT MLBXv04 DOT nih DOT gov>
MIME-Version: 1.0
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0AF7961F@MLBXv04.nih.gov>
User-Agent: Mutt/1.5.21 (2010-09-15)

On May 13 17:43, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> Hello,
> 
> The current version of the mkgroup utility does not seem to care
> about group members when generating the group file (either out of
> domain or locally).  I wonder what prevented it from using
> NetGroupGetUsers()/NetLocalGroupGetMembers() to list the group
> users after that last colon.

Because it's not necessary since the groups are in your user token
anyway, and so is extra work for no gain.


Corinna

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

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