delorie.com/archives/browse.cgi | search |
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=vTpYV+RP8vqoDmt3XOdrvhijF4TUbhb6t7FUl9786rZxigiOCwDbG | |
YOr/cVfByLr2X92e2au9ti4Zd2ZADL23sk2UMh50U18Y8h7ChXAeyo+XYDMM9Ury | |
L6AqM/jJsqifScSLiKNn2GJxlIR/DIhsI7JjL16c5/AGdNjv6PDFFY= | |
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=NE4+xRqIlWnCKnROa7zfP2HPy3o=; b=h0+2lUd5QgEtr1nqhzEASFgYJr0I | |
Ay0f2igUHtdaVxeO8ElGVB1aluwPX8lDDOP9RHbICzDl7teyzOOdyK0rTM4MdVNa | |
apO71bb9dh5VWLs6SSGXk01qv8kS/5PJa9ohfHGeaDsVauzYrCso14s4LDrdayNa | |
UaQFwJG44JR6nNU= | |
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.2 required=5.0 tests=AWL,BAYES_05 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 11 Nov 2014 12:14:37 +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: | <20141111111437.GB28012@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> <0B8D23F7-0258-472D-BF38-860402FD3CDC AT etr-usa DOT com> <20141111101821 DOT GO2782 AT calimero DOT vinschen DOT de> <loom DOT 20141111T112847-576 AT post DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20141111T112847-576@post.gmane.org> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 11 11:05, Achim Gratz wrote: > Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > One possible, but not naturally useful default behaviour is what > > the current code does: > >=20 > > 1. Utilize the unixHomeDirectory AD attribute. > > 2. If unixHomeDirectory is empty, fall back to /home/$USER. > [...] >=20 > Default to /home/$USER unless a specific AD attribute is specified in some > configuration file (maybe nsswitch.conf, maybe something else) and that > attribute is non-empty. >=20 > > 1. Always use /home/$USER and let the admins come up with a matching > > mount point scheme. >=20 > Would work for me, but then the configuration of those mount points would > need to be directable somehow. >=20 > > Another: > >=20 > > 1. Add a setting to /etc/nsswitch.conf which allows to specify one of > > the above: > >=20 > > home: [unix|win|home]... > >=20 > > - "unix" means, set pw_dir to unixHomeDirectory > > - "win" means, set pw_dir to homeDirectory > > - "home" means, set pw_dir to /home/$USER > > - Multiple entries are possible. > > - Default in the absence of this setting is: always set pw_dir to > > /home/$USER. >=20 > Looks good, but maybe allow the AD attribute to be explicitly named (e.g. > cygwinHomeDirectory). Cygwin schema extension? :) > For local accounts maybe some environment variable or > registry key should be available as a configuration option. I'm not that concerned about SAM accounts. Typically they have no problem with /home/$USER anyway, and they have the SAM description field to add cygwin-specific data. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYe+dAAoJEPU2Bp2uRE+gfz4QAIdhlsrhtvhcXpGGV+nSvhJV TDE48ltO5xtGvjnb0GJ02HS59QOneQ3VE5+TciMxfgKa87B6LOUavYbTjO66F+sc qJ2G/cygRduYDXI9e8A3hAK3aV3T2DuD1ZhPbiudme8X530uS6Xx1l6wS8WZiAV3 m29vZ8C/u2/HthINARBQ+uvIqQCbaaqTJMmRXztQYni7N1UZF2mWmruf4yzRKsRL 1AQ8UkkUcsNow0OhQLTGHq7j/A9vqHwtDild0pGAUwvKg77WX2flQDL4JiDR0Wmv FiCKDLf1iZvRPaCd5I4EF3Zvi1TPCEnFextC53fzTeMXo8+tAOdd8MfxKorAOIGs ygxIxd1L/U1osZZ/t9uPD31njZISWl0R/tcJV3GGdD1d7lNLMuzUKjp3dMXq/mqH iEDugNIwxM3EnZWinXUTW8JrikXnOsMt+Dpf0iSnYkCOazwEmx6AqndThOSc6MDz aGI/D7CwPe7ChBfgkXwOU1W3+6xlAcUHrzxgIzQvUZjFT3D4lr7NePXU8mrRB2xM ldgC2n7MK1JZQ75KqTqwgH/iBECJfPo3fRbVUG2Kj9ZGYnM6btXD+LjxiahUBSQ6 Bnn3kTvZ1+u1IZcy4X3ggAG4SpnGPYNchd9RmLqJuqATa0r8SZ9NNkAzsy8L4JXK TK1G6SFBtfofr7sX30rV =yEa9 -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |