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=KfqmvG5we69+BVvuIFY0YULiPLOf4Keg4V7qOK1QzWJUzc+pCYmpY o60qsy/qy4OLG6+/SL8jeZvv9rXTycnkT3ty1wpUhzDu3Ffyl5edqWiKBw5VkppX VPxrus5oZRrEJc8bLVtd57SZpKkF6kCKm9yMsDukTvK49zR94yHSXI= 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=+FtGj1hF4Hh3nMpgDrGg/cNM7kA=; b=lDLmLdgUPFLEFZglY1988Vytliac TENVeIaJa51EQKuwzW/2O8ZkkcQ3HGcSmhVJwR7iVAupKy6+V2wpL9aFLX79jsBN g5contZZQaFU+aVmEaAjApcsyvMUu00BtHiqJC7kygbPCNeMnhqeYjvzRrFGdewj YBsO5Ms7jHlHtEg= 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=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Sat, 12 Apr 2014 13:13:25 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Still testing needed: New passwd/group AD/SAM integration Message-ID: <20140412111325.GA3271@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <53487C6E DOT 9010905 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <53487C6E.9010905@cornell.edu> User-Agent: Mutt/1.5.21 (2010-09-15) --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 11 19:36, Ken Brown wrote: > On 4/10/2014 10:53 AM, Corinna Vinschen wrote: > >Hi folks, > > > > > >The latest snapshot, 2014-04-10, is a snapshot from CVS HEAD again. > >It contains the latest crazy ideas in terms of the user and group > >account creation without requiring the /etc/passwd and /etc/group > >files. >=20 > I installed the complete snapshot and moved /etc/passwd and > /etc/group out of the way. Now all users have gid =3D=3D uid: >=20 > $ mkpasswd.exe > +SYSTEM:*:18:18:U-NT AUTHORITY\SYSTEM,S-1-5-18:/home/SYSTEM:/bin/bash > [...] > kbrown:*:197610:197610:... > [...] > sshd:*:197613:197613:... >=20 > $ mkgroup.exe > +SYSTEM:S-1-5-18:18: > [...] > HomeUsers:S-1-5-21-2633657340-2046398995-3442950202-1003:197611: > None:S-1-5-21-2633657340-2046398995-3442950202-513:197121: >=20 > Shouldn't ordinary users (like kbrown) have gid =3D=3D 197121? All > files I created as kbrown prior to the test show group "None", and > all files I created after the test show group "kbrown". >=20 > Is this a bug, or is there something weird about my system that's > making this happen? cygcheck output is attached. Definitely a bug. I "optimized" the code a couple of weeks ago and while I was at it I "optimized" away the code evaluating local user's primary gid. Duh. I'm just building a new snapshot. Thanks for the report, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTSR/VAAoJEPU2Bp2uRE+gr48P/RdqhiNF8zbVeMjByy3YSzC9 u4czRTONUv25EQWeuOn4rbqVTvhu5F1U9YwVw/Uy5ECYkVXGha0H8ydRhHo7NCTB y91nwTEYYCFad3nWcNIJCvJjAIy9wOqdYWHPslg4DEEp8M80V48xS2impLwBzbc1 wn7Gpu0WNENlwLR+/kgwo4J92UQhcKd+OsaSJmEzgY227DJxUlSLELjX1u4xRPEU jKJF4GqJ0UnawWtXZxQnzKWkJl4d9BSZIPgXGtQG4jEzEI7ih4qggHByioyaCqTJ yDqyw9GBD17o4+GEq9Vqe/40bkVeZlcGF1R92EaZS/daFdhA4K+B3Bqa43H9bOX0 wSK0FioMcnaH1/f5pD/tj1vhWtdR/9aqL6l/WhseVwzWNILFBAug/TP3oR6rJJuU 4xYwyj/ZaSMRxUOnkffUGHa5r2jp/VxpI35qz+xWvK9qIF6Db5nEjh3mNw8bvqzr CneGmNML2SLXcr2J3NYLfiI6U1jPlFMHuEojgxkbnnQ1Cipu8/0oEj+RecPKeHBT Q+ZZkbHRDURGTfeI+WoVj9iU5qcAWDLBOQsKOjjykDivAcRar5cMRnKyVYzmwT2I EJ0yrX9F/d50lV50gfmRedyOH5m3+Ku62deY+2203ObeMKHD2JUoh5OcKpb81iaV /QijoWkZwP5r2lhLhcS6 =VYEN -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--