From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33524 invoked by alias); 13 Feb 2019 20:55:55 -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 33516 invoked by uid 89); 13 Feb 2019 20:55:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mout.gmx.com Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Feb 2019 20:55:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550091348; bh=LQNqyAUbr45dSIFHmYM1NG6oUyrgoXl+1GxLEfKxOi0=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=cpzN4LNVs7LJfDP5T4A6ymy+AQmPDztZCb/sVqIdMz6qil6SVLsCMF5mOveR3F/aw l9sZmhOUQoaXobgly1Qf4DHxi4bqVXRngstpIiapAeUlKORZ7wXbnPZnWNAHeR1CYu L+t1gR4iGfnU22tHnXD485ckiZ9U0ORRkXGBtofo= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from mail-lf1-f44.google.com ([209.85.167.44]) by mail.gmx.com (mrgmxus001 [74.208.5.15]) with ESMTPSA (Nemesis) id 0M8lr8-1gmMbg2O3Y-00C76m for ; Wed, 13 Feb 2019 21:55:48 +0100 Received: by mail-lf1-f44.google.com with SMTP id t14so2868654lfk.7 for ; Wed, 13 Feb 2019 12:55:47 -0800 (PST) MIME-Version: 1.0 References: <20190213103200.GK3718@calimero.vinschen.de> <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> In-Reply-To: <20190213202537.GF3718@calimero.vinschen.de> From: Bill Stewart Date: Wed, 13 Feb 2019 20:55:00 -0000 Message-ID: Subject: Re: sshd: computer name's case must match? To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00135.txt.bz2 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. 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. According to: http://pubs.opengroup.org/onlinepubs/9699919799/ - > 3.437 User Name - A string that is used to identify a user; > see also User Database. To be portable across systems > conforming to POSIX.1-2017, the value is composed of > characters from the portable filename character set. The > character should not be used as the first > character of a portable user name. > > 3.282 Portable Filename Character Set > > The set of characters from which portable filenames are > constructed. > > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z > a b c d e f g h i j k l m n o p q r s t u v w x y z > 0 1 2 3 4 5 6 7 8 9 . _ - > > The last three characters are the , , > and characters, respectively. >From this reference, it seems that a POSIX-compliant username cannot contain the + character? So my suggestion is for Cygwin to convert the name part before the + automatically to upper (or lower) case. Thoughts? Thanks! Bill -- 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