delorie.com/archives/browse.cgi | search |
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=bdxAxahVS69B2rl6GeW40Vj2R0VwD | |
mRMMxkwUGcgVeIrow3JMXu+iWrg5FYb2z7uDF8k5t6aq58+BSIiSqd0RgKi+YAmj | |
F88pQZDtR8aFYee6McVhlWV00uQSfRvyDIUqQ1SJ1bZq1UAuEdpH2qtFLN4Ly36z | |
TAW6WcXFtVZEdY= | |
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=uHB4RT6rEMGWLAziy02Xi0rJvdI=; b=bNr | |
RsfKIb9Gv5TtKu05ZpapxjZNSHJwcyUHX322LCIZfZ/kLLnW/Jc1YPFI/bI44PDW | |
+VeFiNXd/StHPrJHbqPWCD7x7MDkgDdEL+qkG/AWBVq4YEF9Ia3hPPDHUeeEGYT8 | |
NHcw9+YJTm1Wou3wPa1uWKYItiGsYiR2ppKkd3ok= | |
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=-0.9 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | cluster-j.mailcontrol.com |
From: | "Lemke, Michael ST/HZA-ZSW" <lemkemch AT schaeffler DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: update trouble 1.7.35 |
Date: | Tue, 24 Mar 2015 16:25:12 +0000 |
Message-ID: | <33EC3398272FBE47B64EE3B3E98F69A76C41502F@de011521.schaeffler.com> |
References: | <33EC3398272FBE47B64EE3B3E98F69A76C40CC25 AT DE011520 DOT schaeffler DOT com> <20150323193842 DOT GM3017 AT calimero DOT vinschen DOT de> <loom DOT 20150324T142454-956 AT post DOT gmane DOT org> <20150324140333 DOT GA17861 AT calimero DOT vinschen DOT de> <33EC3398272FBE47B64EE3B3E98F69A76C414FBD AT de011521 DOT schaeffler DOT com> <20150324155024 DOT GA21272 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20150324155024.GA21272@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id t2OGPW3E005664 |
On March 24, 2015 4:50 PM Corinna Vinschen wrote: >On Mar 24 15:19, Lemke, Michael ST/HZA-ZSW wrote: >> On Tuesday, March 24, 2015 3:04 PM Corinna Vinschen wrote: >> >On Mar 24 13:28, Steve Johnson wrote: >> >> >> >> I am having the same issue, but from a fresh install of cygwin64. >> >> >> > >> >The problem is this: I can't reproduce this. I need a means to >> >reproduce this to be able to fix it. I'm totally stumped by this weird >> >problem because it seems LookupAccountSid fails and I never saw that >> >before and don't see this on my machines and in my environment. >> >> Ok, let's see what I can come up with. > >Thanks, but I'm even more puzzled than before. > >> For the test I cut >> down passwd to just a single line and removed /etc/group - the problem >> still occurs. From a cmd window: >> >> C:\NCygwin\bin>cat ..\etc\nsswitch.conf >> passwd: files >> group: files >> >> C:\NCygwin\bin>getent passwd %USERNAME% >> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1 >> 846952604-2729:/home/lemkemch:/bin/tcsh > >Is that what you have in /etc/passwd? Oops, thought I also showed passwd: C:\NCygwin\bin>cat ..\etc\passwd lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1846952604-2729:/home/lemkemch:/bin/tcsh > >> C:\NCygwin\bin>id >> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555 >> (Remote Desktop Users) > >what does `mkpasswd -d | grep -i lemkemch' print? C:\NCygwin\bin>mkpasswd -d | grep -i lemkemch lemkemch:*:1175788:1049089:XXXXXXXX\lemkemch,S-1-5-21-435809281-806517502-2525237208-127212:/home/lemkemch:/bin/bash Note that "they" did a domain switch here at some point. My installation is really old and the passwd certainly is from before that domain change. >The unknown user is >totally weird. It should only occur if your SID doesn't show up in your >/etc/passwd file. Also, if /etc/nsswitch.conf is "files" only, and >you don't have a group file, there should be only one group in your `id' >output, the primary group 10513. >Here's how it looks like for me: > > $ getent passwd corinna > corinna:unused:11001:11125:U-VINSCHEN\corinna,S-1-5-21-2913048732-1697188782-3448811101-1001:/home/corinna:/bin/tcsh > $ id > uid=11001(corinna) gid=11125 groups=11125 > >Did you stop all cygwin processes after doing all the settings, >including any service? yep. > >> strace output (hopefully) attached. >> >> Anything else you'd like me try? > >Can you change /etc/nsswitch.conf to "db" only, stop all cygwin >processes and restart a shell? What does `getent passwd %USERNAME%' >and `id' print now? How does an strace of this getent call look like? C:\NCygwin\bin>vi ..\etc\nsswitch.conf C:\NCygwin\bin>cat ..\etc\nsswitch.conf passwd: db group: db C:\NCygwin\bin>getent passwd %USERNAME% lemkemch:*:1175788:1049089:XXXXXXX\lemkemch,S-1-5-21-435809281-806517502-25 25237208-127212:/home/lemkemch:/bin/bash C:\NCygwin\bin>id uid=1175788(lemkemch) gid=1049089(Domain Users) groups=1049089(Domain Users),... many many groups I don't like to post here. > I'm grabbing for straws... I noticed something else: With nsswitch.conf db: > ls -l ... -rw-rwxr--+ 1 lemkemch OLDDOMAIN+Domain Users 10057 Oct 21 2013 testresults.xml drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users 0 Nov 9 2010 tidy4aug00 drwxrwxr-x+ 1 lemkemch Domain Users 0 May 14 2014 tinymce drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users 0 Jan 13 2012 tomahawk-1.1.11 ... > ls -ln ... -rw-rwxr--+ 1 1051305 1073742337 10057 Oct 21 2013 testresults.xml drwxr-xr-x+ 1 1051305 1073742337 0 Nov 9 2010 tidy4aug00 drwxrwxr-x+ 1 1175788 1049089 0 May 14 2014 tinymce drwxr-xr-x+ 1 1051305 1073742337 0 Jan 13 2012 tomahawk-1.1.11 ... Note the different numerical id's that translate to the same username. Don't know if it means anything. I just find it weird. Michael
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |