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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=k97YA4CqRuZ5u/BJ BHym0uIPpXk5rVsPVFiL9BvuOnOIg3x+5MqIkkbvRr50d3S29/J5K4acpaPORHTZ /9HSubQ+e14AnUohu1Q8l4RqzubxisBI5udRuYRj8nfPABRhHhAGoM6D4hbbmpoM ywOqqfgPvVLMjizmyWb0fXf8vpY= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=O4t1HrjR7M8p6zz9WGXQb6 Egz2o=; b=UmMcWfgA4FpW5IoNADqSoBFK10dpWkMamIK/dAAUbbVxApusxzGOmf DpF2c37giRFcVcV7m30EUFaBO6SozBEi1J73gxX4gzS5H36L5sk5+xIq8eieYM42 X2J2VYv4IL54YjsSm1+tWJuA0QD2xE1lS7rjTkE2DoDxRoL1D9Isk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Fri, 5 Dec 2014 08:07:43 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1682125876.20141205080743@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: Cygwin AD integration home/shell changes In-Reply-To: <20141204094054.GC3810@calimero.vinschen.de> 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> <20141111111437 DOT GB28012 AT calimero DOT vinschen DOT de> <20141126205658 DOT GA9157 AT calimero DOT vinschen DOT de> <946685207 DOT 20141203102637 AT yandex DOT ru> <20141203091608 DOT GA26844 AT calimero DOT vinschen DOT de> <118770258 DOT 20141203164448 AT yandex DOT ru> <20141204094054 DOT GC3810 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Corinna Vinschen! >> >> > Here's what you get: >> >> >> >> I finally realized, what was tingling me all this time. >> >> The implicit fallback mechanics. I'd rather want to have explicit declaration >> >> and a failure message in case something isn't right. Much easier to fix system >> >> issues, when the system tell you about them. >> >> > The fallback mechanism is pretty much required to have a sane default >> > which works for home users without having to change nsswitch.conf at >> > all. Also, not everybody will want error messages rather than some sane >> > fallback (for any given value of "sane"), while if you don't want a sane >> > fallback, you can easily create an unsane fallback to help you maintain >> > your solution, e.g. >> >> > db_home: cygwin /invalid/read-only-path >> >> Why not set defaults (in case of db_home) to >> >> db_home: cygwin desc /home/%U >> >> and remove fallback? >> It just not seems right - creating workarounds to implement straight behavior. > It's not a workaround from my POV to provide a fallback. Creating a > workable passwd entry is important. If I implement it as you suggest > above, I would still provide the typical "set home to the root dir" > default. Sure, that might be an option. If you mean "complain and set home to the root", then I'm happy with this solution. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 05.12.2014, <08:06> 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