Testers needed: New passwd/group handling in Cygwin
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Feb 27 20:10:00 GMT 2014
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.
>
> I noticed another thing. Not sure if I would call it a problem, just
> an observation or if it is a feature.
>
> As said before, my laptop is part of a domain and I have moved the
> local passwd and group out of the way.
>
> 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
==> Check if the local machine knows the domain name of the SID
==> Yes: Create a fake group name "DOMAIN+RID"
No: Create a fake group name "Unknown_Group+GID"
> I have an export LANG=en_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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140227/738208ce/attachment.sig>
More information about the Cygwin
mailing list