From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11008 invoked by alias); 10 Nov 2014 21:39:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10990 invoked by uid 89); 10 Nov 2014 21:39:41 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Nov 2014 21:39:40 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 5712E8E12EE; Mon, 10 Nov 2014 22:39:38 +0100 (CET) Date: Mon, 10 Nov 2014 21:39:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: RFC: 1.7.33 problem with user's home directory Message-ID: <20141110213938.GL2782@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20141110205216.GJ2782@calimero.vinschen.de> <87y4rioiu7.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+278g007AL/ykmV8" Content-Disposition: inline In-Reply-To: <87y4rioiu7.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-11/txt/msg00199.txt.bz2 --+278g007AL/ykmV8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2057 On Nov 10 22:18, Achim Gratz wrote: > Corinna Vinschen writes: > > - If your account is an AD account, the home directory is taken from the > > RFC 2307 entry unixHomeDirectory. >=20 > This isn't set yet in our domain, but there's another AD just for the > UNIX accounts (I haven't looked at how that one is structured yet). > There's talk about maybe unifying these two AD in the future, but I have > no idea how that would work. If you're doing that at one point... > > - Otherwise, if these values are empty or don't exist, your fallback > > home directory is /home/$USER (without domain prefix). > > > > As you may have noticed, there's nothing in there taking the Windows > > home directory into account. It's indeed not used at all by the new > > code. >=20 > I think that is generally the right idea, since mixing all the .-files > into the normal Windows home directory results in a mess, especially > when there are Windows programs ported from Unix that use the same > scheme for themselves. What I'm doing right now is to create an > /etc/fstab.d/$USER that mounts a subdirectory of the Windows $HOME > (always a network drive for normal domain users) when I set up a new > users' machine or login on a server. I also mount the actual Windows > home back under ~/winhome. >=20 > > Shall the "db" entries utilize the Windows home folder if it exits(*) > > and drop using the unixHomeDirectory? It seems inevitable... >=20 > That would cause serious problems for me I think. Keeping the home > directory pinned to /home/$USER and automounting this based on some rule > involving either or both of those entries seems a better idea in the > long run. ...it might give you similar trouble as you outline above. As soon as the RFC 2307 posixAccount/posixGroup scheme is utilized for Unix machines, Cygwin's usage of unixHomeDirectory would potentially break your modus operandi... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+278g007AL/ykmV8 Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYTCaAAoJEPU2Bp2uRE+gyFIP/1KORUGINnL9auX/GWKmO9dO UrioQBYvSZHOg9+ZCMjKNDR5OZ8pm41vKikcRyLwXaR6B/aSD5jn1m025aXd6E9S /zJPoUWBTNvcSbmxsXUkBJts3fP9wmAWHtTVX5j9xWsSGIm2Ha0VjrQrT6M2n1Ih XmOVfzuo9+YSZF4k//uQGHgxcELHuABqGB79PeDcwTunIcLQlbwHsP3KhU3wrWQ7 qBIC8HeyjFWdfwv3QIlVnowVbvCv2XHQ2OKnR+5zvKB8f4rQTRS1oOBaJTiSZzgY sX2Pzv4DRT/tHooOls+eAa2e97ySrXtCMZ3NqpJy6KO/RzmTpey8QA8oJpfE9Yvi R1GynfB61He4fW8KAjuxlpfazcpWYJZ4vjoyvGlMCtaN2F3XWUBZNrSwH8GXHNg3 hHtfEm9kYB8AihAhvJwPzcv2Yr6S0zC24Rk9N6QexYQTd95zA4IkjsGXqswldF4u whDiBkTQXaunXekxrLjxrpIbb83eW2ephOmk5fbC/NP8PGStldXf8RkTLR7ivKUW E7r4iCgHQxtel8WSt5QbDAo9wGFRW02JgE26YwAGNbrN7DnZEmmFwm3TzMtUDICH smG1MkCL0LIHv9Ua8GElYes0sWX59a4f6H/dvWogwUyg8DhDNpKtVhB2gyw1yeaH fJOoCj/wgNwEmH8t3aLD =33aL -----END PGP SIGNATURE----- --+278g007AL/ykmV8--