From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30761 invoked by alias); 5 Dec 2014 10:13:13 -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 30745 invoked by uid 89); 5 Dec 2014 10:13:12 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Dec 2014 10:13:04 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 2A52B8E12E1; Fri, 5 Dec 2014 11:13:02 +0100 (CET) Date: Fri, 05 Dec 2014 10:13:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cygwin AD integration home/shell changes Message-ID: <20141205101302.GI3810@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com> <20141111101821.GO2782@calimero.vinschen.de> <20141111111437.GB28012@calimero.vinschen.de> <20141126205658.GA9157@calimero.vinschen.de> <946685207.20141203102637@yandex.ru> <20141203091608.GA26844@calimero.vinschen.de> <118770258.20141203164448@yandex.ru> <20141204094054.GC3810@calimero.vinschen.de> <1682125876.20141205080743@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jhQDtFD6/0rlgiNE" Content-Disposition: inline In-Reply-To: <1682125876.20141205080743@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-12/txt/msg00056.txt.bz2 --jhQDtFD6/0rlgiNE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1969 On Dec 5 08:07, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > >> >> > Here's what you get: > >> >>=20 > >> >> I finally realized, what was tingling me all this time. > >> >> The implicit fallback mechanics. I'd rather want to have explicit d= eclaration > >> >> and a failure message in case something isn't right. Much easier to= fix system > >> >> issues, when the system tell you about them. > >>=20 > >> > 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 maint= ain > >> > your solution, e.g. > >>=20 > >> > db_home: cygwin /invalid/read-only-path > >>=20 > >> Why not set defaults (in case of db_home) to > >>=20 > >> db_home: cygwin desc /home/%U > >>=20 > >> and remove fallback? > >> It just not seems right - creating workarounds to implement straight b= ehavior. >=20 > > 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. >=20 > If you mean "complain and set home to the root", then I'm happy with this > solution. No complain. You still seem to have a problem to understand that this is underlying functionality under a couple of system calls generating passwd entries for arbitrary accounts. It's *not* necessarily the current account. A user visible complaint for every unconfigured account enumerated via getpwent is quite over the top. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --jhQDtFD6/0rlgiNE Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUgYUtAAoJEPU2Bp2uRE+glKwP/0aFNUgMC5dGj3+Ci5lnZVGV MZQ2ZqFaTT2kG40wsh3uAHS97yThv+BkyqyNPvRRxPh1/Wch7CqQtvVQDCK/MmPw Eyc5PpYRtURLfi/eahnRLK+3jDHbUxmgORX5itaCjZXQzvDOLsSlveTjLovkcE8O ANIN0l6nUsDilutxfU/F0+Pr8ATAhYJM6Ym3Wi3pryBO57RSvTBi1GzEWEH4H/zN ohoXMacdKj/fdVg9BXAL/gOfJdezDqtXnG20AWCcpSYTRyzjlR6ooob5f24ol6Cn d+ocB74Q2giSe2iNNXYHdCZDxv+K0lQUC/y9WA44WCWTrNYGPb/EyXwaliUnZ1ON dAmZzxZJUcy6zBx01PAFW5ORjHhQZHSymX/0EMxIQkvDb/H/M39rNub5z9ALXKVN gGNxXgPRd+OkFgvVhhMVMbEZq9dgY91X4RgxHcmmLg+q28O8oMCGmcz1jS/RLlNY 80K6C3w7aRuC1twD0FOT+Yf4Ce6JqfD3JsuZIHiWEv6dus4JYxLQZKX5pXpDbltg 3pILyDlPa+G7K6X/JvTVf+Y/Js3SFxKvE3wggvyOgc7RH7FMD2Rgxjd5OX8CEgUP 6ynUDmOIQ9toexW07Yrb52tNAAerOMWCkg8WTyMjrTA/9HXDG0cCSnPHVnthAS/X SQoasr7KAU9lEZpy0Sji =LoRe -----END PGP SIGNATURE----- --jhQDtFD6/0rlgiNE--