delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/25/12:20:42

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=jAVICB25aVC5co/NqSugdxFEH5EENSx6+krjpK7ovNaeFJOL9MBs6
9IU6IRmvjsJ76ALDlkqNxO0ak/ZAqUX/Qm8Uo3rhKOrRzgBddm8oHvbgdbmorBZ7
HDhr9aGT1l/yzyH0jJdSGlhfZQ5gOV1DOr/TCBPIR1cDi2TfMcG18s=
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=UIB5vvO0eDPyOOUC7BylmiHiGjk=; b=jrMVQwsZvkHvaz11gfzAvYez7pLL
IhcW7GtM9K5Qv2ObhBDbMI15/Ealk02EtpFHMwslhupwV/UIWyZ3HeSmk0RhbdfS
zCLEFGexw4kXU/hZ/D08YcZ6CA/P+zq3NUTt1LRcOLufh9LfabVHaXnMEFDLclHe
ZfTjt8fr3uqCWbQ=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 25 Feb 2015 18:20:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gid doesn't display correctly on SAMBA share using AD
Message-ID: <20150225172022.GL437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54EDF1DB DOT 20708 AT intersystems DOT com> <20150225161849 DOT GG437 AT calimero DOT vinschen DOT de> <54EDFD84 DOT 2030605 AT intersystems DOT com>
MIME-Version: 1.0
In-Reply-To: <54EDFD84.2030605@intersystems.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--ZSoWtPk5XaIUnOQI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 25 11:51, Len Giambrone wrote:
> On 02/25/2015 11:18 AM, Corinna Vinschen wrote:
> >On Feb 25 11:01, Len Giambrone wrote:
> >>[...]
> >>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-18726758=
54-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?
> >If your admin changed your user account to have a gidNumber 999 only,
> >then that won't help,  Consider:  Cygwin tries to find a group with
> >gidNumber set to 999.  How is it supposed to evaluate the right
> >gidNumber value from some arbitrary user account?
> >
> >What Cygwin needs to get the right connection between a Windows group
> >and a gidNumber value is that the *group* entry in AD itself has the
> >gidNumber set to the right value.
> >
> >I don't know if that's really the problem in your case, but that seems
> >the most likely.
> >
> >Please report back.  I'm excited that I'm not the only one interested
> >in getting this connection between unix and windows ids working :)
>=20
> It worked.  :)  Now I just have to persuade my admin to populate uidNumber
> and gidNumber for all our current and new users...

I'm glad to read that.  Thanks for your feedback!


Corinna

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

--ZSoWtPk5XaIUnOQI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU7gRWAAoJEPU2Bp2uRE+gHHgP/0i9aeaNmLUgcap7jSM3fE/H
EUwSVSP1Q30j+1BQ7lU0kbFP/0z21bfddAbUk91hTNoX9l64mKG9Q0VI3yl25wam
YZmzBcPJstab0lua1/XZQapD1GKD3CRAl9NbHflwDkrrcAWexUsAiQxkSTj6+l3d
g2nhDzMwM9p52ls9eiDbP2GCO8GDhQ1U4j7rBKgFncAGWxk+EbUIBotNqs/1g9IY
ZBoBr6crwgaLx1YL2inK72H+74159uxFm0sI/czj08gaO9oymRlL+j8DBsDySSno
mz42L7/xWk0FIKGnh+8PweTOq8bMEQsmwRFRLugc0ADLldvm0Yvs0GvoMfWE3HOu
ptnUJv2utFvaS2mol5Lg0oLLIFPbP0HIYVr9ov/mNPym7ULTP6LeqKLWmavdqKhh
ebYHmZ6MPXq5kFozDi9DNs2IVtbbAPfRp70KedfRykSZjMLFTijY/3jt3dOzzcAj
GrZEkGxNkHFMyIdCj/oWdvOo0ErvgA2sNDJiZdBJbUsOmUFKgSvK998ZjFp3W4cc
CvRTveK+vJ/8MhV5ZJLsc/RbYQWy1Ks2XceidcMCZigkuHVnn5YVNx2XLanPOXwB
uI4wWXwJ1vfr54gxdzz3xd7BXgDbf49RnTOVcFv0OJjBqsD3N2pQ+UG45T7UIgxg
A0iCOQcONN2QOA7+VGvB
=zC0S
-----END PGP SIGNATURE-----

--ZSoWtPk5XaIUnOQI--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019