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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=bk9VhjZ/8pxdHtOE5DeG6Q1Cit+Lp+jPch07d3UOyNBZjvuJk40t+ Nzy2NFjaiJH1F5LaliQ0ZV/i3joTEyRUBXXQrfA2FNyCd1Aky1E4SI+j/cscT2j5 43iR/0AKlk05i4tzBtV8L6GeW3eFjnJAZ6XIJHCs5z1+UP37SfyQSA= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=rQTUCsm0/Mkcfza4Nc39bID9OSU=; b=rLwuoIpuV7oSWH+gJ3Z4vXkBk9N2 kEPMcoZxQ/EC0gD4T2nLcc2tWCvRjrf5PBNCsZWyc0aH+JjhqciIIN5arQ8I4xBK cxEfwDO9yEcsUL7mC1InlWya42b4JUulkhn95hToiSXHiiDpOxhYpNE3EdW4yZ75 u3VIPUB3qeJEf8o= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 10 Apr 2014 17:28:09 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Still testing needed: New passwd/group AD/SAM integration Message-ID: <20140410152809.GD2437@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <5346B667 DOT 3040704 AT breisch DOT 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) --VAM/tfeJyUfWz6bO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--