From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7698 invoked by alias); 28 Nov 2014 12:20:15 -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 7686 invoked by uid 89); 28 Nov 2014 12:20:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,RCVD_IN_JMF_BR,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 28 Nov 2014 12:20:08 +0000 Received: from [91.78.178.160] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1XuKWn-0006UI-R3 ; Fri, 28 Nov 2014 15:20:01 +0300 Received: from [192.168.1.10] (HELO daemon2) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 28 Nov 2014 12:08:10 -0000 Date: Fri, 28 Nov 2014 12:48:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <8610043342.20141128150810@yandex.ru> To: Corinna Vinschen , cygwin@cygwin.com Subject: Re: RFC: 1.7.33 problem with user's home directory In-Reply-To: <20141127170042.GE3810@calimero.vinschen.de> References: <20141110205216.GJ2782@calimero.vinschen.de> <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> <20141111111437.GB28012@calimero.vinschen.de> <20141126205658.GA9157@calimero.vinschen.de> <20141127170042.GE3810@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00618.txt.bz2 Greetings, Corinna Vinschen! >> The meaning of the schemata depend on the setting: >> >> db_home: >> >> windows AD and SAM: Utilizes the setting of the homeDrive or >> homeDirectory attributes, or their SAM "Home folder" >> counterparts. The Windows path is converted to a >> POSIX path. > I'm not really happy with this. It requires to write some value to the > homeDrive/homeDirectory attributes, because it doesn't fall back to the > Windows default values. > So, another question is this: Shall "db_home: windows" fall back > to the default Windows home dir if homeDrive/homeDirectory are empty? Yes, if you mean it. I mean, if you intend to use the same directory OS using for user's home directory, you gotta use something that resembles the OS behavior. >> @ad_attribute AD-only: Read AD attribute "ad_attribute" as POSIX >> path. >> >> However, I'm contemplating to allow a Windows path >> here, too. Does this make sense to you? > I implemented this now. It doesn't hurt. Windows path here makes more sense. The translation to POSIX path depends on the fstab settings, and may vary across different systems, and even different users, given your aim to make fstab configurable per-user. (Am I reading it right?) >> /path POSIX path. Remember the wildcards. >> >> fallback If nothing works, the fallback is /home/$USERNAME >> (Windows username). >> >> >> db_shell: >> >> windows Ignored. Do you want CMD instead? > Would be interesting for symmetry only, I guess... With bogus quoting rules of CMD? It would just not work straight, I'm afraid. May be better with PS, but I'm not familiar with it, and I don't know anyone, who's familiar or even considering it's use as a shell interpreter. -- WBR, Andrey Repin (anrdaemon@yandex.ru) 28.11.2014, <14:52> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple