From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10414 invoked by alias); 10 Apr 2014 15:28:14 -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 10403 invoked by uid 89); 10 Apr 2014 15:28:13 -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; Thu, 10 Apr 2014 15:28:12 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id E521D8E0292; Thu, 10 Apr 2014 17:28:09 +0200 (CEST) Date: Thu, 10 Apr 2014 15:28:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Still testing needed: New passwd/group AD/SAM integration Message-ID: <20140410152809.GD2437@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20140410145323.GB2437@calimero.vinschen.de> <5346B667.3040704@breisch.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VAM/tfeJyUfWz6bO" Content-Disposition: inline In-Reply-To: <5346B667.3040704@breisch.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-04/txt/msg00252.txt.bz2 --VAM/tfeJyUfWz6bO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2250 On Apr 10 11:19, Chris J. Breisch wrote: > Corinna Vinschen wrote: > >* cygserver now provides system-wide passwd/group entry caching. > > > > All processes started *after* cygserver will try to fetch passwd > > and group entries from cygserver. While this is probably a bit > > slow at the start, the longer cygserver runs, the more information > > is present and later started processes will get the information > > with all due speed. > > >=20 > This sounds awesome. >=20 > >* Support for Cygwin user names different from the Windows username. > > > [snip] > > Therefore I think it would be better to remove this functionality. > > If you really think you have to use a username different from the > > Windows username, you should probably use a tiny /etc/passwd file > > with just this entry. The new mkpasswd will create a default entry > > for you with just needs minor tweaking. >=20 > I haven't contributed much to this testing, but I'm on board with that id= ea. >=20 > > > > > >* db_separator in /etc/nsswitch.conf > > > > Is it really such a good idea to have a configurable separator > > char in user and group names? Is it important that it is > > configurable? Is '+' a good choice for the default separator? > > Wouldn't the backslash a better and, perhaps, only choice? > > > > > I'd vote against '+' and in favor of '\' as long as there is no > potential for confusion with Windows Domains and accounts/machine > names, i.e. \{,}. >=20 > It doesn't sound to me like that would be an issue with how you want > to use things, but that's my only concern at the moment. I don't think there could be such a confusion (might depend on my code, knock on wood), but if so, it would occur with '+' as well. This kind of confusion would not depend on the actual separator used. The only reason I dislike backslash a bit is, that the backslash is the escape char in the shell, so you would have remember every time you type in such an account name to escape the account name, DOMAIN\\username or "DOMAIN\username" Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --VAM/tfeJyUfWz6bO Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTRriJAAoJEPU2Bp2uRE+gyAAP/3b0zbDfJD1l0dHQB8ozmHfC rfKnKrFHbzMefD+Af5NwqWkD3RRJVNJDqlyZHMKNMVx2S6vqq0FFudzLVyx6xcER jLZ0Rm/vCcPT3MePe9t7Af0dmqujIhAuhbA2724IrZtHi87EaSPbxMf+JIT1rxob 3EUrAWWZhzTktQOVL/ZsYOuk59R0lyA3500vNunhvN29rPFEF+KoAS0LO+uqJ6Zm 40ahY8F3MJ9QQ8bRLQaVPswNCePYpCVQ6zW/gKib6CteOilWDC4zfs9cInkIgL7/ BylZuex2ld7wEeMtbmCB64nZJi8cr6m7oTRS8+mJpZjrfhQPPLG7e8pH89ypFpcC PjIO9cfPYQ0CiZwBTmWSUYNdGUS5HbG0/PiQPxPIFXF/Gao7V98Q8KbtMq/elhnc NUIPUkWOli2K1TYRx37gjW6Mw16lZA7GnfNT0g185W1ElS8Tlj3P7+gezX++aVkn v0O+gtqAD01TTwuM3k+QtKnIthWmfC5uNyj2ugsDIfgc7O7p6kyKANxO1C5Gl8yb zlAlIb8aj2l8nq1lQ01ZwkU+PakaYLenoLLpvhamLGj0jVk5w0PzQSdqJoYY+Tmj b3gge7juvZlLsugt6cnficEUP0jI0dVUgkjq3BuLcox057/imWZWiDceUF06pRz+ j4f48MZoucmqkvuwvzef =nXXW -----END PGP SIGNATURE----- --VAM/tfeJyUfWz6bO--