delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/16/10:10:09

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=RWdVw4bPp8Uk2qPI
PpsufkFgAwoBWPTfk7V+ZDZjrOt4eNj/x7CMggBPaiBEdQJYVW1i/tyqbHOFbgDV
BfubvEFDw4ggp1NXtbBsR/ZZizwsJPZpVUs6H0GurqWNiRpdntpbTrlut7v8gY+O
DzX0qUuhIKyCovvZVQETU5gWljc=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Mel3u001UVC3MtseO09sbb
4jpkI=; b=oeFrDJrsDzjmk+ZlHptcZLyvZxj7yrPeQs+LhQ/ioiOlMozfL5T6Ki
glB2RXVvppcC2Mwg41yWT++zTveVxpW/HXfqUZpUalEgOBBOmmBuFcpXRp6EP76k
x8rPK1zaiv1WTORO+tNxFPv1De3TVHCn+ZkdCuMcHmwU37Y8aiB04=
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.3 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=inglis, Inglis, discretion, H*R:D*ca
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?
To: cygwin AT cygwin DOT com
References: <50cba8d1-4794-8db9-d1f3-ab9476421db7 AT gmx DOT com> <CANV9t=QQ1higAt1qeDF4fckkz_6eqQJtdhau8+uhrAvGtWUK_A AT mail DOT gmail DOT com> <20190215163817 DOT GI2702 AT calimero DOT vinschen DOT de> <CANV9t=Rm+su=qDqdFN-LqiMLEAHJD7WxW_OSqqSpqgeb6ir++w AT mail DOT gmail DOT com> <20190215202936 DOT GL2702 AT calimero DOT vinschen DOT de> <CANV9t=SdQPZw_VF95HwDrVRU1KzdHA61GJBRgA1weHryHUO6-w AT mail DOT gmail DOT com> <20190215204326 DOT GO2702 AT calimero DOT vinschen DOT de> <CANV9t=Q5M+V9TPEN-GaGzLtK_8AO5fUenajQ+T-VZX6+kbrMMw AT mail DOT gmail DOT com> <3bace8f4-1097-9245-10e9-1ed54d1014f3 AT SystematicSw DOT ab DOT ca> <CANV9t=QDy6Y5X867vrq47jgxTUJU9h95kmmbeCWtotZroEcGaQ AT mail DOT gmail DOT com> <20190216094528 DOT GT2702 AT calimero DOT vinschen DOT de>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <959f0e79-1ede-878a-6306-d0bdd8d7ef0e@SystematicSw.ab.ca>
Date: Sat, 16 Feb 2019 08:09:51 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <20190216094528.GT2702@calimero.vinschen.de>
X-IsSubscribed: yes

On 2019-02-16 02:45, Corinna Vinschen wrote:
> On Feb 15 14:51, Bill Stewart wrote:
>> On Fri, Feb 15, 2019 at 2:38 PM Brian Ingliswrote:
>>
>>> Windows normally allows "." to be used to refer to the local machine name in a
>>> domain context - can anyone confirm or deny whether this works in Cygwin or with
>>> getent?
>>
>> AFAICT, the "." shortcut does not work in Cygwin.
> 
> The combining operator for domain prepended usernames is '+'.  This
> is the same character as used by good old Interix for the same purpose.

That was not in question - the question was could .+$USER be used in lieu of
$COMPUTERNAME+$USER or $HOSTNAME+$USER and should $COMPUTERNAME rather than
$HOSTNAME be used in such contexts?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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