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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=P7rBg2d507kXlISC5/wCHRcG87Z/w
	3aOpKixMgYvR0E1DZ3rySfAM1OR1+yhfdW1Y1BZr0H3NqXEUkcVsSlHuXMFnd1C7
	wyXYyBej3RQL5hLMMYXPrGet2FBWU8Etos2npu+Qdj58L3fpC8TtZXUOj46r/hmO
	bwHS7wAD3Qp3eM=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=Yn3Uo0Jo+nqroc5Wm667jp5p/pg=; b=oqx
	sD+BIAPos6K8VjmAuBJuu93O4wqMhWZ/9i+Iql3KkJtU6yuOK928YjnDdtlm1AxT
	sAeFbh3au+CoJUmU44sQ3gUdvc+Zu1o4jXjYdROdorUzk7ImuV2mvLSjLQb+qgT7
	dl7VDR01fHCw1EhfgL64uTBb/YprvUKRoDAnNunI=
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
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,TW_MK autolearn=ham version=3.3.1
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiMFALYtkVGcKEev/2dsb2JhbABagweDc7xxDX0WbQeCHwEBAQMBEhERSgsCAQgNDQIGIAICAh0TFRABAQQbGodkBqFSihCQIoEmjVE4gkIyYQOOG49KinyDD4In
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Why mkgroup does not list group members?
Date: Mon, 13 May 2013 18:17:26 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0AF7968A@MLBXv04.nih.gov>
References: <5F8AAC04F9616747BC4CC0E803D5907D0AF7961F@MLBXv04.nih.gov> <20130513175045.GJ8890@calimero.vinschen.de> <5F8AAC04F9616747BC4CC0E803D5907D0AF7964F@MLBXv04.nih.gov> <20130513180639.GM8890@calimero.vinschen.de>
In-Reply-To: <20130513180639.GM8890@calimero.vinschen.de>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id r4DIHvog020372

I may have put it a bit incorrectly,

> In that case, your expectations of the getgrXXX functions are wrong.

but I don't think so.  I am looking if a user belongs to a group,
either as their primary or secondary one.  So when using getgrXXX()
I check to see if a user (whose primary, passwd-supplied, gid does not
match the gid of the group) is listed as a member.  In CYGWIN that does
not work because the information is missing from the group file.

Anton Lavrentiev
Contractor NIH/NLM/NCBI


