X-Recipient: archive-cygwin@delorie.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=FDAnHMjVYXGc4FoO4g9mUNCv3WN8kGh/FsRl2d4H/qd0aVLTeJRNG
	bDN5D/eWw8JyVEzQ69VsuCeIjoDhxSeysOsrBfnTPgxsrpnFc8FfK0tDMPG3cAS7
	3Q2I5UJv0iZIQ8FZjn/3l1O7+mI/hFgcSnBi1E2SKHtelBfLyMtZ3k=
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=QEiBKYBFY19vkzoQCC9b5HhvQNw=; b=dgbn+fmz7FN8zE6ttfYtSuZPhHlw
	lW4RnoxqHiTfD+FWKreCnrICadlHGUYe2LP6HN8Us9BVsWpSom8j1CgLJXpMe6pP
	8aVBQHPkLgyjFxhby88G89V2eDnn7D5CYif8AXR7UMMMZyXwlGWY7s8x1H9lxlBz
	eQic2nNbRdyCiQg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-93.8 required=5.0 tests=AWL,BAYES_05,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=bob, Bob, disconnected, H*f:sk:CAMNUbh
X-HELO: calimero.vinschen.de
Date: Tue, 16 Aug 2016 11:20:10 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Launch cygwin as non-domain user
Message-ID: <20160816092010.jtr3yuugrowkcy2h@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAMNUbhRj6pyuCmx-QQvGG8exA6MPgvw+sRr2Dx6vr3ZjqgoAYw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="gfydyyzomjvfvpv7"
Content-Disposition: inline
In-Reply-To: <CAMNUbhRj6pyuCmx-QQvGG8exA6MPgvw+sRr2Dx6vr3ZjqgoAYw@mail.gmail.com>
User-Agent: Mutt/1.6.2-neo (2016-07-23)

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

On Aug 15 11:53, Bob Van wrote:
> I didn't realize there was a response (on aug 8th to aug 6th) to this
> since didn't get a mail, but am subscribed to digest now.
>=20
> I have no passwd or group files. When I echo username, it's as I expect...
>=20
> CHI+User(14497)@RVANOVERMEIREN ~/ror
  ^^^^^^^^^^^^^^^

  This does not look like a local user account.  Is CHI your AD domain
  or your local machine name?

The above occurs if a Windows system call fails, i. e.  LookupAccountSid
probably returns with an error code outlining that it can't contact the
DC.

If you want to use your AD username even when disconnected from the
DC, it really makes sense to generate an /etc/passwd entry for your
user account, as well as /etc/group entries for the AD groups you're
member in.

To create these entries you can use the mkpasswd/mkgroup tools or,
alternatively, the getent tool.  Either way, obviously you must be
connected to your DC when doing so.

Then, if you're disconnected, Cygwin can easily fetch this information
from the local files.


HTH,
Corinna

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

--gfydyyzomjvfvpv7
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXstrKAAoJEPU2Bp2uRE+gAlEP/2tTDNaX5K7jMBNNyKZcCUMx
99XXcDirR3HEdLNX1kcoSJA2JFB9y9FiNk1vOEKIDiyHL+EEJumyOSko/P+9EVlo
llo7qCLaGnMwyOHUHQNqCFm9ycBqTUAHizF2K9wiE7X1VPjdD3DDBL9B645MyveC
9G4e3RHZ9CfkcClealeb/x5/1U+5BocW+0sKgfUk1PY7XcdvUcpjvWOPVMMenCmU
wrTWRcTZhjF9T8s9Q0d27X0qu2+167faytKjUP8KYCoQEUPqZZllkfrQoCJP1l1k
yMqSRnlLsG4DkQsDKgY1I+RiM6TklDEF24U2KljIqzEIV9xCFfFuCi9zzLH0hbXd
8tvSJgCw1dd7yzXYtPTG90nOJQi0iZ+dCKTb5qrKRhZ/weZ/R6kfndWVoIjxT/n9
1GcG+LP94GeWcOvJK1xCippxYj6hYz8jY/KNzs0PMObo28ioMS+lZYo067GcM4CF
XkKs7fzZTVK2+POdWKo8AtxmFqtf3AFmN4u1SDwbjVoR1b1/rHdzZEHGcQ/4FjMF
XaORUao8eh7WP5kiFA0/X9jjhfXv16dk54PLDrjymwMjg/wK0NOSW8uLAtAu/ZJI
xhyomnmPAoEyOCZCc5ETs84f9/xdajUbgyWXiM2dLTJZUxlGiGaPQvr1bi+w0SFZ
eUcO16KP4QelLUnbvl1H
=+6uf
-----END PGP SIGNATURE-----

--gfydyyzomjvfvpv7--
