delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/25/11:01: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
:content-type:content-transfer-encoding; q=dns; s=default; b=rI8
R2Cq58eqUCGNnVNalqvJ5W/9TCgd0z4hak5yGCdKVxC1nMY15s28u2LhKTUY7V9p
PK46MT0daxBnE/wkZbMDzkGMIMCadh1CA8Mj7AJFgEvOuS6n6sLZXID8uPG1e5w2
yOGDvZUGGFwuAjc8NQRX0tUUsTn7umqMox9x7CJY=
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
:content-type:content-transfer-encoding; s=default; bh=JdwA8yE7s
tFzFrG3AnE0C9e9uyM=; b=mLR0pThZJChK87XMIt3yKRyc7d5HOIWaq+3ekh96T
HjRkS4BUwZwhZBA44qFm+nNOkwlZuuE3K1vhgUbP6A1faSyNIgsD3Y0tOQxSp4yn
Qrk1nBFKq/gausYIBo00VTLDmw8FCEy1b/CpLXJFj+aZdzEkmApk35G8rVUX3VcA
ws=
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.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mail2.intersystems.com
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
Message-ID: <54EDF1DB.20708@intersystems.com>
Date: Wed, 25 Feb 2015 11:01:31 -0500
From: Len Giambrone <Leonard DOT Giambrone AT intersystems DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: gid doesn't display correctly on SAMBA share using AD
X-IsSubscribed: yes

Using the latest cygwin:

$ cygcheck -c cygwin
Cygwin Package Information
Package              Version        Status
cygwin               1.7.34-6       OK

I've asked my admin to update the uidNumber and gidNumber in AD.  He has 
done so:

DistinguishedName : 
CN=build,OU=GroupAccounts,OU=Users,OU=Cambridge,DC=iscinternal,DC=com

Enabled           : True

gidNumber         : 999

GivenName         : build

Name              : build

ObjectClass       : user

ObjectGUID        : 0901b540-b044-437f-a167-53e1453eab94

SamAccountName    : build

SID               : S-1-5-21-112145844-1872675854-1690816760-17189

Surname           :

uidNumber         : 56191

UserPrincipalName : build AT iscinternal DOT com


The username displays correctly, but the group name does not:

$ ls -la foo
-rw-rw-r-- 1 build Unix_Group+999 0 Feb 25 10:52 foo

And this is confirmed by running getent:

$ getent passwd build
build:*:1065765:1049089:U-ISCINTERNAL\build,S-1-5-21-112145844-1872675854-1690816760-17189:/home/build:/bin/bash

$ getent passwd group

I've read 
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-gecos 
'til I'm blue in the face, and I think this should work.
What am I missing?  How can I debug?



-- 
-Len

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