public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: update trouble 1.7.35
Date: Tue, 24 Mar 2015 16:22:00 -0000	[thread overview]
Message-ID: <20150324155024.GA21272@calimero.vinschen.de> (raw)
In-Reply-To: <33EC3398272FBE47B64EE3B3E98F69A76C414FBD@de011521.schaeffler.com>

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

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?

> 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?  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?

> 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?

I'm grabbing for straws...


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-03-24 15:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 18:56 Lemke, Michael  ST/HZA-ZSW
2015-03-23 19:39 ` Corinna Vinschen
2015-03-24 14:00   ` Steve Johnson
2015-03-24 14:05     ` Corinna Vinschen
2015-03-24 15:50       ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 16:22         ` Corinna Vinschen [this message]
2015-03-24 16:33           ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 17:03             ` Corinna Vinschen
2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 18:59                 ` Andrey Repin
2015-03-24 20:42                 ` Corinna Vinschen
2015-03-24 14:03   ` Habermann, David (D)
2015-03-24 14:11     ` Corinna Vinschen
2015-03-24 14:20       ` Corinna Vinschen
2015-03-24 14:29     ` Corinna Vinschen
2015-03-24 14:33       ` Corinna Vinschen
2015-03-24 14:57       ` Habermann, David (D)
2015-03-24 15:11     ` Achim Gratz
2015-03-24 16:37       ` Habermann, David (D)
2015-03-24 16:25 Steve Johnson
2015-03-24 16:48 ` Corinna Vinschen
2015-03-24 19:53   ` Steve Johnson
2015-03-24 21:28     ` Corinna Vinschen
2015-03-25  6:19       ` Steve Johnson
2015-03-25  9:25         ` Corinna Vinschen
2015-03-25 14:39           ` Steve Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150324155024.GA21272@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).