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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=k+2lmq+nwEylAZHPwga9z3vygzlqP
	E9jChsS3gDk2SLULQngxjNOvyRWnF8ovtU3IRYfii6iUE3z5SsRbvcFQiq8aLKrd
	zx+qUHuotVZtUQhAwXMy9UDSt4atljcwvlQb4aJ7QH29eEjktlyBwPyo/QGYKvPu
	aD8pdQ8BNHvqjo=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=xd8Y0A6QBb42AiirkNfQv7MsRf0=; b=xnZ
	bc+TqE9YYzuHUAF3y7OmAd3RViCLYTDhiCPdKXAMX0F7QfrnQkrJOMVhkHNMKabd
	do9qX9li64s97bo2Li7nh9Rm04gNoiGugpswHokjjtUeCvxv4mm6peclJxCyWX6V
	CYRjLEhaML0p5SAEgglT6iuOGQT+e/YcjGy5ptxM=
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=-1.9 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: na01-bn1-obe.outbound.protection.outlook.com
From: "Habermann, David (D)" <DAHabermann@dow.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: RFC: 1.7.33 problem with user's home directory
Date: Tue, 11 Nov 2014 12:47:59 +0000
Message-ID: <C9D37D92E903B347A31B9CF82643BA2807331A80@046-CH1MPN1-041.046d.mgd.msft.net>
References: <20141110205216.GJ2782@calimero.vinschen.de> <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> <loom.20141111T112847-576@post.gmane.org> <20141111111437.GB28012@calimero.vinschen.de>
In-Reply-To: <20141111111437.GB28012@calimero.vinschen.de>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: 046-CH1MMR1-010.046d.mgd.msft.net
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report:	CIP:65.52.44.158;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(428002)(199003)(5423002)(51704005)(189002)(77096003)(77156002)(2501002)(110136001)(104016003)(62966003)(97736003)(44976005)(86146001)(22756005)(450100001)(2656002)(93886004)(101416001)(47776003)(69596002)(68736004)(19580395003)(86362001)(20776003)(92726001)(84676001)(87936001)(6806004)(22746005)(64706001)(92566001)(23676002)(76176999)(50986999)(50466002)(54356999)(4396001)(46102003)(33656002)(55846006)(105586002)(31966008)(2351001)(107046002)(99396003)(21056001)(107886001)(106466001)(81156004)(106116001)(95666004)(120916001)(79686002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0101MB0871;H:mail.bsnconnect.com;FPR:;MLV:sfv;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en;
X-CrossPremisesHeadersPromoted: BL2FFO11FD014.protection.gbl
X-CrossPremisesHeadersFiltered: BL2FFO11FD014.protection.gbl
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR0101MB0871;
X-Forefront-PRVS: 0392679D18
Received-SPF: None (protection.outlook.com: dow.com does not designate permitted sender hosts)
Authentication-Results: spf=none (sender IP is 65.52.44.158) smtp.mailfrom=DAHabermann@dow.com;
X-OriginatorOrg: dow.com
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id sABCmItv029578

>>> Another:
>>> 
>>> 1. Add a setting to /etc/nsswitch.conf which allows to specify one of
>>>   the above:
>>> 
>>>     home: [unix|win|home]...
>>> 
>>>    - "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.
> 
>> Looks good, but maybe allow the AD attribute to be explicitly named (e.g.
>> cygwinHomeDirectory).
>
>Cygwin schema extension? :)

Sorry to join in the fun here so late, but I like the current behavior and really don't see any reason (given my usage) why I'd want to mix my cygwin and windows files together in the same directory.  Additionally, I don't have the ability to change the unixHomeDirectory field in our AD.  I also like having everything stored under one main directory (c:\cygwin) for ease of backup and ease of identification of all cygwin-involved files for our virus and our application whitelisting systems.

As I result, if folks feel that something must be done, I like the plan above.  I don't really care what the default behavior is, so long as the "home: home" option is available.

Dave

