This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: occasional failure to look up
- From: "Habermann, David (D)" <DAHabermann at dow dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 18 Nov 2014 15:49:00 +0000
- Subject: RE: occasional failure to look up
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is 65.52.44.158) smtp dot mailfrom=DAHabermann at dow dot com;
- References: <C9D37D92E903B347A31B9CF82643BA2807362157 at 046-CH1MPN1-043 dot 046d dot mgd dot msft dot net> <20141118152211 dot GZ3151 at calimero dot vinschen dot de>
> 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). 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
USER INFORMATION
----------------
User Name: dow\u074036
SID: S-1-5-21-1060284298-861567501-682003330-76794
GROUP INFORMATION
-----------------
Group Name: Everyone
Type: Well-known group
SID: S-1-1-0
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: EW54384R82P30V\Debugger Users
Type: Alias
SID: S-1-5-21-2043008819-1135015519-32816079-1001
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: EW54384R82P30V\DorincoServerAdmins
Type: Alias
SID: S-1-5-21-2043008819-1135015519-32816079-1009
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: EW54384R82P30V\Offer Remote Assistance Helpers
Type: Alias
SID: S-1-5-21-2043008819-1135015519-32816079-1011
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: BUILTIN\Administrators
Type: Alias
SID: S-1-5-32-544
Attributes: Group used for deny only
Group Name: BUILTIN\Remote Desktop Users
Type: Alias
SID: S-1-5-32-555
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: BUILTIN\Users
Type: Alias
SID: S-1-5-32-545
Attributes: Mandatory group, Enabled by default, Enabled group
Group Name: NT AUTHORITY\INTERACTIVE
Type: Well-known group
> Stopping the terminal and restarting cygserver is not sufficient?
> Also, does this also happen if you don't start cygserver at all?
I've not tried either of these ... and I'm not sure if it happens at every reboot now or not (I rarely reboot). I'll see if I can reproduce it.
> When the problem occurs, can you provide an strace from id?
>
> $ strace -o id.trace /usr/bin/id
Will do if I can get it to reproduce. Will try later today, I have "day job" stuff to do at the moment.