delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/12/10:20:55

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=x0F780KvwZ6GSzhEVi0F9h9U2ULf4B2Lo39GztU/AJv
3VjGLeffPc2kWTqc5zmBPa7MgQhtuszEiwlJ6nEyNuAMJJMoarM3t6+IpwAQ6jmg
WilIk8OWOhz6q+vRUeJgYgkmkEUVXLKsVcXNynKWKr1ON6qNIq7i/qWCmC0YcrJ4
=
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=DPIKTjJMKKzraiPUR53PKE5oCKU=; b=JYn247ByELldwlZ1/
+9VcpZhRBl7TJwUYB4uUkc+vPDRwXIXrNWlPF8rOBJN4iJIwTY+UDEsWqVjVxaN1
tJMrlR5Xk5aA88vifOxX91DY0Z4po7MOepNjvH0s1EvRvCnCVTOfezEVoCWKFhx7
BCOIRVx9JmY8VCcRywqehyOoug=
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=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <53494BAA.3020005@cornell.edu>
Date: Sat, 12 Apr 2014 10:20:26 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Still testing needed: New passwd/group AD/SAM integration
References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <53487C6E DOT 9010905 AT cornell DOT edu> <20140412111325 DOT GA3271 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140412111325.GA3271@calimero.vinschen.de>
X-IsSubscribed: yes

On 4/12/2014 7:13 AM, Corinna Vinschen wrote:
> 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.
>>
>> I installed the complete snapshot and moved /etc/passwd and
>> /etc/group out of the way.  Now all users have gid == uid:
>>
>> $ mkpasswd.exe
>> +SYSTEM:*:18:18:U-NT AUTHORITY\SYSTEM,S-1-5-18:/home/SYSTEM:/bin/bash
>> [...]
>> kbrown:*:197610:197610:...
>> [...]
>> sshd:*:197613:197613:...
>>
>> $ 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:
>>
>> Shouldn't ordinary users (like kbrown) have gid == 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".
>>
>> 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.

Works fine now.  Thanks.

Ken

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