delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/14/08:43:53

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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=yCm9SsG
UtobvnzbOOvjQyOG+sYYmLhclq+gmNNgHeSvYFlRSJO1xGQh/8FpWddWIRMEBVX6
CKDY5vfuj2KxJDRrWU+6WejCW6xovhsbnrTaie1t+HOJ34LchWAvUILwLpzrIUgZ
XrNaXIrPVcO2AkG36kTHUacM0ld2V5FSd1us=
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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=W9wrZSVEFIPVa
fI3AZpeE47hYus=; b=AGVrWzuUrk4l3OMBnKfpkvzVdhp5xasO0tBMSSv8tFJwB
KB/VMk/UeAwigsr0nIKWdK2WO2c0veRodlGOUkpJ247rfqqABr2lPCmywcmMBOgk
RdzDs3PhssfDJytxeNXAEczcWg37s+pgUd276Mdau3WSh9Rq4DZ4rpKjrzbmjU=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=instructed, authority, difficulty
X-HELO: mout.gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1550151819; bh=S/FCiL+q4HrbmuXja/kJ/bRnvFBTNOaY38SQbuacKcU=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=3J6NQoEf7+AHHMh9saFCxQZtoidoUSX4TXnYF68ZkHFl20PqCyZXpku1rDvgD4gop KGXGTTE9HiWcRP2UK9i888w4nEh1Zn3G4wypcpPuXjse+YmhdGkWkuOpuQgC1jwiy2 48NsSoZWmDfWBthna8LdXvNuM75vV22b2N4ZD0IU=
X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79
MIME-Version: 1.0
References: <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> <20190214131345 DOT GB30859 AT calimero DOT vinschen DOT de>
In-Reply-To: <20190214131345.GB30859@calimero.vinschen.de>
From: Bill Stewart <bstewart AT iname DOT com>
Date: Thu, 14 Feb 2019 06:43:23 -0700
Message-ID: <CANV9t=QE9n6kej+1CYYV7OMktLpv05ZhYpSdPe=LzpbnwiH9Hw@mail.gmail.com>
Subject: Re: sshd: computer name's case must match?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Thu, Feb 14, 2019 at 6:14 AM Corinna Vinschen wrote:
> > 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.

I was looking for a simple way to resolve the case issue.

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

This makes sense. My suggestion may be a bit too simplistic.

> I'm in the process of discussing with the OpenSSH maintainers how to
> proceed.

Sounds good. Thank you for thinking about this problem.

I understand the username case needing to match. This is easily
instructed on the Windows side - just make sure the case matches and
it will work.

I think this is the difficulty: When a computer name is not uppercase,
how do we find out the correct case when we specify an authority name
(before the +)?

(A domain name is easier: We can translate name -> SID -> name and get
the correct case.)

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