delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/27/14:38:53

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=Ld2cf71G+53rjzSP0gvdFxrvBB/EVl86TLpZ+KQmRk/ff/zsKKzUu
WWFPctUdtTRf6/m3aEt8gISNVk1PWMrXGGqzJmXZ5GXFN5QU9dtJI/fcgDR0YVkE
/h2MB5J49FuFRZsDCIx9mu0WWvHp9FflErM/dhpBmv/ArCyV8KigSQ=
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=R4NIEHT4aNR408I0YfblEmiwSNw=; b=dUclwJcUuMJNrIJEEh7eDPFvL3e3
7cbHqGoWBC0ShgUF2zuHJDCrrOw26LndKGzHSfHB1fwqxHtSLpvBkUVusNcoI/bd
ay3BwibOJCfzeDZ1HdUWinO3I/xSgtEhuvmspuDHlmRhH6r99hfw3xtdc22W5AXI
E/fyUVd3QfLheno=
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: Thu, 27 Feb 2014 20:38:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140227193832.GJ2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <CAKf2h5SUDAe6b3Z333w5nagXZbTZ1V3K4BKnGq-MmAU+VR77QA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKf2h5SUDAe6b3Z333w5nagXZbTZ1V3K4BKnGq-MmAU+VR77QA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Feb 27 20:06, Frank Fesevur wrote:
> 2014-02-13 15:38 GMT+01:00 Corinna Vinschen:
> > This is a pretty intrusive change, in need of some serious testing, so
> > I'd like to ask for volunteers.  The latest 2014-02-13 snapshot from
> > http://cygwin.com/snapshots/ contains the changes, including the latest
> > bugfix.
>=20
> I noticed another thing. Not sure if I would call it a problem, just
> an observation or if it is a feature.
>=20
> As said before, my laptop is part of a domain and I have moved the
> local passwd and group out of the way.
>=20
> When I am not connected to the domain (on the road) I get this error
> every time I start mintty: "id: kan geen naam vinden bij groeps-ID
> 1049089"

My dutch is a bit rusty but this text is obvious.  And unexpected.
What was supposed to happen is this:

- LookupAccountSid returns with error
  =3D=3D> Check if the local machine knows the domain name of the SID
  =3D=3D> Yes: Create a fake group name "DOMAIN+RID"
      No:  Create a fake group name "Unknown_Group+GID"

> I have an export LANG=3Den_US.utf8 in my .bashrc so since the text is in
> Dutch this happens before the .bashrc is executed. It basically
> translates to "id: unable to find name for group ID 1049089".
> When I start my vpn and re-open mintty the error doesn't show up
> anymore, even if I disconnect the vpn again.

At this point all the required information isd apparently cashed
by the local LSA.

> After rebooting the error message occurs again.

Cache is empty again.

> The reason for the message seems obvious. The process can't lookup the
> information. But it can be confusing to users to see an error at
> startup. Is it error useful to the user? Can I suppress this message?

No, because it comes from `id', not from Cygwin, and as I wrote
above, it's in fact unexpected and unwanted.  Could you try to
strace this scenario?  Maybe I can figure out why the account name
faking didn't work.


Thanks,
Corinna

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

--/knlCKogGKzIgL69
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTD5Q4AAoJEPU2Bp2uRE+gY24P/iMsLKTAMuUWd8ybFrdwJUW1
DiKQW73MqGfwcRlseZIkkw83Xjps5C0jplbHY2rtAzAaQiWP5E6RlM7aQtHEXMCg
RMET6DW/FXduUo+cCQOI3t62afpR/YLlZiUTMGXCILlm9WjcceUNN/sO2lZIhUqV
ogCHZJNgidLhwxoq2oV7AJSVDNKHPmEh/0JDe7Ax0ETov5RIqsM0goswBJwg1hyT
my6FQXqePoTKmOFQtufdlHjZkSiSGWyjL40EQu91dlUBIMh5IDNZGNu+SkO2+xEr
H9fXHkncYyzN4u0WRlcdI/LpTbtNQlZEOkou0ELvi9yW8ddRhFd3oZyGT6KEboQI
SRdidOfebPTSD167Gpm+miYLrcroo9bzo28x2W87Gp6HOAAjF1ubv2rqj2//aFth
dE8BG79re8tx1EgnrETNbKnRpfwhUVyXZex813lDb7s+q5zs4aQF1hGNJD3xcozc
LZC6gYLe/hrOZEgvldRFp27oqCavalzsdbypk5UVyw+pQfkYWbLpJiw6NRcMIgVU
MZvuNUVBSIawiwo6gnyJ7lUvOODwAboU97xCdgnqVYNfJqYtLCkcDzQTX6zaxsiN
WJ9RBoLVfTyxVvw3VE2VaCPCwOMwrk1JsIz40n44lA1X5ANRDD71y7t7MmqkszDF
0+gK3EGhiWC7NRl8bvCp
=BZD/
-----END PGP SIGNATURE-----

--/knlCKogGKzIgL69--

- Raw text -


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