From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91212 invoked by alias); 14 Feb 2019 13:43:43 -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 90842 invoked by uid 89); 14 Feb 2019 13:43:42 -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=instructed, authority, difficulty X-HELO: mout.gmx.com Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Feb 2019 13:43:41 +0000 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 Received: from mail-lj1-f173.google.com ([209.85.208.173]) by mail.gmx.com (mrgmxus001 [74.208.5.15]) with ESMTPSA (Nemesis) id 0MGSQA-1gppKl0QeO-00DIxb for ; Thu, 14 Feb 2019 14:43:39 +0100 Received: by mail-lj1-f173.google.com with SMTP id j13-v6so5288459ljc.2 for ; Thu, 14 Feb 2019 05:43:38 -0800 (PST) MIME-Version: 1.0 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> <20190214131345.GB30859@calimero.vinschen.de> In-Reply-To: <20190214131345.GB30859@calimero.vinschen.de> From: Bill Stewart Date: Thu, 14 Feb 2019 15:23: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/msg00150.txt.bz2 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