delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/13/17:20:20

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=PSIneaC83HDoVnXZ
qr9KvxGz6cR0iSC0S0QddsImCy3qjl//VGguGfaxyy2HemT+XVsg79+iq3Np1UXi
N/gWkFHR2Npe2tW6rmysHEvkEbzLn3jibwiNtLeN26PGlDJe88wzy4SqXbllQSfz
N1N68oGNNR/kabuM5tfBo4LR5AQ=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=08lGm6I5jPrhgGjSSzoUKj
leuDE=; b=sxB/A3KdgXP5nVylFG707ZkNlBggxWLnmY+zoCXvkkSN4+6uciOydr
/6o99m8bb26KoR5DneRU8C/yC1FsTHnopLr3l6hIWXNra+h/f5z3jyyhJIqmNIJY
zBVdGZNCIMsYh5i4ZtIDIW+0QoaMqgi6wSs6A1N7EdBtv/f3eqdCU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=Repin, Andrey, andrey, repin
X-HELO: forward103p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1550096401; bh=i6bTPBymNkwaLhTlAK5+hJZJRYXgyWrlSVs+OLHoumo=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=adw57PJukgLmAg/ZQ4IzrWw6OTbp6Hhb07+evHhPEpgoS86DmnXKvTX2xZ4pJvKXy /on9jC5WcfoRvb07IUT0LLWt3vL4yj+V5tzG0Q5MKHaweoSFNKM6bxPJGqnXWE9L0c 2WDz8G4tPumWzZEQe8P1FWOzNE1xS8RQQXHpbOeg=
Authentication-Results: mxback3o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 14 Feb 2019 01:09:47 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <968457789.20190214010947@yandex.ru>
To: Bill Stewart <bstewart AT iname DOT com>, cygwin AT cygwin DOT com
Subject: Re: sshd: computer name's case must match?
In-Reply-To: <CANV9t=Q49YOZ26AEKu0nx4UW2hGvaXt+0wf3nKtRq3_AguYz6A@mail.gmail.com>
References: <CANV9t=QxA_FW-3OCZuYFJpxrekbO8Yc-WsnxGLiyc0Bqz=fPUw AT mail DOT gmail DOT com> <20190213103200 DOT GK3718 AT calimero DOT vinschen DOT de> <20190213122509 DOT GL3718 AT calimero DOT vinschen DOT de> <CANV9t=TW6Kwxo9pN=3Hp8Yzi5A4i2qQpiLoGyEqxR5rq7vu5pA AT mail DOT gmail DOT com> <20190213161029 DOT GY3718 AT calimero DOT vinschen DOT de> <CANV9t=RiBTNsGUwEf6BS9A6b=fMcHeiGD_RDOueKHJ5c9Zwe_g AT mail DOT gmail DOT com> <20190213162614 DOT GA3718 AT calimero DOT vinschen DOT de> <CANV9t=RmEik5VN-Zebc5h+9JUqYZL0QO5RP0UH5F--=zX8NkYg AT mail DOT gmail DOT com> <20190213175541 DOT GE3718 AT calimero DOT vinschen DOT de> <CANV9t=S6zO_qXBrUALxTCKPCPkXfgc-6FFchV_prbkMyD7GpRA AT mail DOT gmail DOT com> <20190213202537 DOT GF3718 AT calimero DOT vinschen DOT de> <CANV9t=Q49YOZ26AEKu0nx4UW2hGvaXt+0wf3nKtRq3_AguYz6A AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Bill Stewart!

Preface: Please teach your mail agent to not quote raw email addresses.

>> > (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.

I can only add to what Corinna said previously: computer names may turn up
having any letter casing, although I mostly observed Windows systems having
all-uppercase names, if first letter was uppercase ("Station14" ->
"STATION14"), where Linux systems would be case-exact.

> 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
>> <hyphen-minus> 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 <period>, <underscore>,
>> and <hyphen-minus> 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?


-- 
With best regards,
Andrey Repin
Thursday, February 14, 2019 1:03:58

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019