delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/24/11:50:46

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=WiRHHxBcrnd17K4T2R4fnzXeik+kZ/qUnVOBfKmYgyySax2xNCGX0
UxHJMj7PPm/rkSh65ftMmHx1/M13j4Sa9HmCNTaFymNEEFpmoPU4ugDXPpONf2MB
Rz4vpL+hzyqNfHAntvowgyronryC41pgV8PjDFrQLJPpI/TOnfTu/s=
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=uw7e+2dKHE3Geq7Ws/RtS3g/Va8=; b=Cn6VTcAsAwU1HP5fxdhN+KxXkp5y
VBpR3/gOxsp9DPTKP1LBG5KBaHrnmvElGmkEulyMv+56j5SfPUu6f2aNSTpgkfKn
py2FoRYB+q9XYDHebgWg5mH5GNt1wE/RrO9Dy9xrH5CbOyk8L2P3Sm5mkTqaFgtU
cGshic1Po6ACrHk=
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: Tue, 24 Mar 2015 16:50:24 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: update trouble 1.7.35
Message-ID: <20150324155024.GA21272@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT 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>
MIME-Version: 1.0
In-Reply-To: <33EC3398272FBE47B64EE3B3E98F69A76C414FBD@de011521.schaeffler.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

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:
> >>=20
> >> I am having the same issue, but from a fresh install of cygwin64.
> >>=20
> >
> >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.
>=20
> 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=20
> still occurs.  From a cmd window:
>=20
> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
> passwd: files
> group: files
>=20
> C:\NCygwin\bin>getent passwd %USERNAME%
> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-16547=
46546-1
> 846952604-2729:/home/lemkemch:/bin/tcsh

Is that what you have in /etc/passwd?

> C:\NCygwin\bin>id
> uid=3D4294967295(Unknown+User) gid=3D4294967295(Unknown+Group) groups=3D5=
45(Users),555
> (Remote Desktop Users)

what does `mkpasswd -d | grep -i lemkemch' print?  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-1697188=
782-3448811101-1001:/home/corinna:/bin/tcsh
  $ id
  uid=3D11001(corinna) gid=3D11125 groups=3D11125

Did you stop all cygwin processes after doing all the settings,
including any service?

> strace output (hopefully) attached.
>=20
> 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?

I'm grabbing for straws...


Thanks,
Corinna

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

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJVEYfAAAoJEPU2Bp2uRE+gPXkP/joQRZG7J8WVGUn+wT5+xEge
oZAD/v+XCW1oXBThkz8jEsarz5fVNQgVlijgg5UVKMaiikEYyJGDLfKmU6r4pXRo
RzHIbcvuYTdmuip4T8N0mexf2uVOzIbcjZuGKkPUN3tynF0eLQKtCFmkbcCnWssT
RAd3KTEc4uJ8UPDgjI5fDMjhN7o/PndlPR5btRnar2FfiZSF3uF8d0WJX8TGLf+f
mTKnnPMcA5IkL4ZDMPomWGRUYdMwoCYhqsJ3X3gskYriC4JKTq2YyLh9VbVy2SRg
5z1Sx2UkpxhG+0M0CXRq2soDA805pfgO+NCIFOa2TDRuV9gkHJWA4xd6YJhW2quF
n3LU5n7qFTpLOm7giEg/nWUtVoMdbvbLp1DXW7LVDgmkyb4vGhG6ggWBJHkQHjLX
hQMMQG8oWdoreVU/n1VaZgBSmUMVwXXBJRA5ol+gEgmy0teeCTX1eJfpS98gLIzv
3cBsb7GGYwBuL1vhfjFj2cpqUjdLcZISaj7UnJe3suTofT+1kAH90qDR3llqOSj0
1J/hfRbp7LNmlsSW57kSo0s/XG6h97s815ruQYayaRn5zwm7Zup3T7vtc//lDTQT
uLS33z5dG/PnFtGzQuUvjVd5XAashgFEPTmh+nX8JcaY59TG6VtMiI7lFkzfORLy
0XN60Sstu0ES0Ffb+F44
=y8RH
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--

- Raw text -


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