From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121132 invoked by alias); 14 Feb 2019 13:13:51 -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 121121 invoked by uid 89); 14 Feb 2019 13:13:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=*should*, Hx-languages-length:1880 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Feb 2019 13:13:49 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3Kc8-1h3eki2uw6-010Jrt for ; Thu, 14 Feb 2019 14:13:46 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id A06BDA80663; Thu, 14 Feb 2019 14:13:45 +0100 (CET) Date: Thu, 14 Feb 2019 13:14:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: sshd: computer name's case must match? Message-ID: <20190214131345.GB30859@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20190213122509.GL3718@calimero.vinschen.de> <20190213161029.GY3718@calimero.vinschen.de> <20190213162614.GA3718@calimero.vinschen.de> <20190213175541.GE3718@calimero.vinschen.de> <20190213202537.GF3718@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-02/txt/msg00145.txt.bz2 --kXdP64Ggrk/fb43R Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1850 On Feb 13 13:55, Bill Stewart wrote: > On Wed, Feb 13, 2019 at 1:25 PM Corinna Vinschen > wrote: > > > (a) Domain or computer name portion to the left of the "+" must always > > > be uppercase > > > > No, the case must match the case of the domain or computername. > > > > > (b) Username after "+" sign (or username alone, without "+" sign) must > > > match case exactly > > > > > > Questions: > > > > > > 1. Are the above two statements (a) and (b) complete/correct? > > > > > > 2. With regards to (a), are there any cases where the domain or > > > computer name is not uppercase? > > > > Yes. In my domain I have four machines using all-lowercase machine > > name for no apparent reason. One is a Linux machine, one is a > > Windows 7 64 bit, the other two are Windows 8.1 32 and 64 bit machines. > > All others, including the Windows 8 machines, are all uppercase. >=20 > The computer or domain name case inconsistency would seem to be a > source of confusion, mainly because on the Windows side we are > case-retentive but not case-sensitive, and it is not immediately > obvious which case will apply in the case of a computer or domain > name. >=20 > According to: http://pubs.opengroup.org/onlinepubs/9699919799/ - > [...] > >From this reference, it seems that a POSIX-compliant username cannot > contain the + character? *should*, not *must*. It may be a portabiliy problem but it's not strictly disallowed. I'm also not sure what this has to do with the matter at hand. > So my suggestion is for Cygwin to convert the name part before the + > automatically to upper (or lower) case. The problem may be compatibility with existing scripts and OpenSSH Match rules. > Thoughts? I'm in the process of discussing with the OpenSSH maintainers how to proceed. Corinna --=20 Corinna Vinschen Cygwin Maintainer --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxlaYkACgkQ9TYGna5E T6Ce0g//amINvv5cD3YXb9saXolGex3wgOzf7ha5wvrbG5KdQeUKkjj75PslPgAV 7tHFc5Y2laIc5o1arxB6Z9cGak6ac1rLZ7RSoObUip0+iDV8PEf68UNSgTz/lKAi D60GvTWzZ+Eg8oDTWcsZXqSaX4FlnXOMyQ/dV2OiABTmsprJB28FIchGUhQbDtOy Nw+PFip1Eqq4zWLutW6gefsi0cxfQ9VPOPcV+sfGJsWsBvUAOXNqPxZjxuUXDp+U zsZvhjWq16hN/51OU+aHAc3ghDljszBCGJGlyYUYYjRIjIglaHOscuZt5NYQPtUb 0spkNTLV8qurHDxXwIXRSd4NPWR0rpdFsr1eS/Lk1HFyePbF0RfLUltSgLMKCqWm rGCXfr9A3GLzr9OxHwIhrMPOiuUi/Mvcj7AzRVzVPIUOKbYvkdGKiK9HgletTbkC gmqXvU1tM7WPyp8sVs4bcKDkhA2kMAWCCpYv4KD9ReRcecoka6n/Lgt/yG87Xs/f ecHAD6faUHRECNc1gVUAGVKM2heLaNyY8JbXFAuCXdcsS+xuUpBonnd6wpL4BKOm roeOt8fdjeg00gJbdF60uclPccek+NojAFvR8aGDiT+VWOe6JRiHR6UXw7RM9y1b OIh8fdhj3ckIll8OCcJBQSRnvh/1UgPomBPh7bnOaPtQ2jz53iQ= =Ypnm -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R--