delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/10/16:39:57

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=w0wevqtMbR9gdA/mHnzYxLeB42/YJjaF/UBKcJGyqJAP0pIS2Wzag
WmzoMJZ2xYa5po42rQGDbZCqnTQgWSNpadFow0OtCdfWdgamex/AbQz9Bhm+Bala
/ANBiRU8/gkRmtTmWs5VjTZ1eyN4onNj9l5F3e3AvXE0T2E7CF/uE4=
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=hNQQM8cKnJdiy/o+iGZfWeWQMcM=; b=KQRK3iKdSO2R4O48eC4t4GOLNwP5
wlvxfbcUUTIPN1AFiyniJmG5tugI2ijTBqp8VMAC4vr0/9SpXr/PZt1tcV0Ja3ov
fSmDHxTp/0FO2chpW/A748zkS2RD0Cr+wqkumTpGwy/1jLQsfjXLYrAB63ktagUJ
UvOvFf1/CG8/H64=
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: Mon, 10 Nov 2014 22:39:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: RFC: 1.7.33 problem with user's home directory
Message-ID: <20141110213938.GL2782@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de> <87y4rioiu7 DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
In-Reply-To: <87y4rioiu7.fsf@Rainer.invalid>
User-Agent: Mutt/1.5.23 (2014-03-12)

--+278g007AL/ykmV8
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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

- Raw text -


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