delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/18/11:27:21

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=sISj8vJufxhzBFdNgDzehUnlCL3Ul
U3x2zcCtydmfBA8wVgXCuyTK0/yNC0oMDkTNgVIf4o1QLaQPq/hfYIF370qlFxZh
FIBtCtTeXQYkloq5OQvbk4RAFcwn1HWZeF+/Lz5AUE3k9hQEqX8bYDXs36avAgQg
kwQ6/jH+Uk5uO0=
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=c1RMyRgPmqglRm4d2NoG3MNugcs=; b=VuG
/AT8ybjbFHSk+y6vrdok8e6SaQnA0wrUwy+WeIR5nGkPawG6R+e8CLVHFxagiIY2
aUG9G07btbghHycq01NcGzL3M1ZHniyy+QtBz5B7ZWqXp8kW/iTioF+MLdiAY4Rd
h1xP3Jyq8hYx72BVwtiLwIYUrYTlp3Rh48EySKUw=
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=1.0 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: na01-bn1-obe.outbound.protection.outlook.com
From: "Habermann, David (D)" <DAHabermann AT dow DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: occasional failure to look up
Date: Tue, 18 Nov 2014 16:26:52 +0000
Message-ID: <C9D37D92E903B347A31B9CF82643BA2807362338@046-CH1MPN1-043.046d.mgd.msft.net>
References: <C9D37D92E903B347A31B9CF82643BA2807362157 AT 046-CH1MPN1-043 DOT 046d DOT mgd DOT msft DOT net> <20141118152211 DOT GZ3151 AT calimero DOT vinschen DOT de> <C9D37D92E903B347A31B9CF82643BA2807362297 AT 046-CH1MPN1-043 DOT 046d DOT mgd DOT msft DOT net> <20141118155809 DOT GD3151 AT calimero DOT vinschen DOT de>
In-Reply-To: <20141118155809.GD3151@calimero.vinschen.de>
MIME-Version: 1.0
X-OrganizationHeadersPreserved: 046-CH1MMR1-005.046d.mgd.msft.net
X-EOPAttributedMessage: 0
Received-SPF: None (protection.outlook.com: dow.com does not designate permitted sender hosts)
Authentication-Results: spf=none (sender IP is 65.52.44.158) smtp.mailfrom=DAHabermann AT dow DOT com;
X-Forefront-Antispam-Report: CIP:65.52.44.158;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(428002)(51704005)(199003)(189002)(24454002)(377454003)(13464003)(575854001)(84676001)(110136001)(31966008)(6806004)(19580405001)(86362001)(44976005)(68736004)(19580395003)(23676002)(21056001)(104016003)(50986999)(97736003)(69596002)(2501002)(92566001)(86146001)(76176999)(55846006)(64706001)(87936001)(4396001)(20776003)(66066001)(450100001)(47776003)(33656002)(77096003)(77156002)(62966003)(54356999)(101416001)(50466002)(46102003)(22746005)(107886001)(93886004)(99396003)(105586002)(92726001)(22756005)(2656002)(120916001)(81156004)(107046002)(106466001)(2351001)(95666004)(119396002)(79686002)(19627235001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0101MB0872;H:mail.bsnconnect.com;FPR:;MLV:sfv;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en;
X-CrossPremisesHeadersPromoted: BL2FFO11FD032.protection.gbl
X-CrossPremisesHeadersFiltered: BL2FFO11FD032.protection.gbl
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR0101MB0872;
X-Forefront-PRVS: 039975700A
X-OriginatorOrg: dow.com
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id sAIGREJJ007809


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Corinna Vinschen
Sent: Tuesday, November 18, 2014 10:58 AM
To: cygwin AT cygwin DOT com
Subject: Re: occasional failure to look up

On Nov 18 15:49, Habermann, David (D) wrote:
> > Do you login with your Microsoft account?
> 
> I am logged into my workstation using the id "DOW\U074036".  Of course the services I mentioned to not run under my ID, but instead under "SYSTEM" (except sshd, which uses privsep)
> 
> > Is 1125370 your primary group id?  Can you please paste the output of `id'?
> 
> No, it is not my primary group ID...instead it is my uid (see below).

I got that.  I was asking if the same id is uid *and* pgid.  Sorry
if that wasn't clear.

Here are the first few lines of my "id" output (the entire output is huge, as we make excessive use of AD groups here):
> 
> uid=1125370(U074036) gid=1049089(Domain Users) groups=1049089(Domain Users),197609(EW54384R82P30V+Debugger Users),197617(EW54384R82P30V+DorincoServerAdmins),197619(EW54384R82P30V+Offer Remote Assistance Helpers),555(Remote Desktop Users),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),66048(LOCAL),1275934(InternetUsers),1360436(VPNUsers),1716061(CRM-SHARE-FC),1059330(ep-fc),1062240(ps-sixsigma-change),1882511(TDCC-Users),1716058(CRM-DB-FC),1854531(app-inst-acrobatpro-4),1241820(synergyadm44-chg),2261836(GDC_DR-SHR),1328857(FsmUsers1-G),1058762(Dow-Chem-Emp-List),2269908(GRP-WEB-SHR),18896
> 
> ....and an abbreviated listing from 
> $ /cygdrive/c/Windows/System32/whoami /user /groups /fo list

The problem here is the abbreviation in both cases.  What I was looking
for is if your user uid/SID shows up in the token group list as well.
I don't need the full list, but can you please check?

1125370 does not occur anywhere else in the ID output (only as UID).  U074036 also does not appear anywhere else in the ID output (only as UID).

1125370 does not appear anywhere in the whoami output.  However, u074036 does appear twice in the whoami output.  I've included both below. 

User Name: dow\u074036
SID:       S-1-5-21-1060284298-861567501-682003330-76794

Group Name: DOW\U074036
Type:       User
SID:        S-1-5-21-4015118-2039090470-1726288727-4013
Attributes: Mandatory group, Enabled by default, Enabled group

Now this makes no sense to me....I don't understand why "I" am both a user and a group....any thoughts on that?

- Raw text -


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