From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97523 invoked by alias); 16 Feb 2019 15:09:57 -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 97486 invoked by uid 89); 16 Feb 2019 15:09:56 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Feb 2019 15:09:54 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id v1bDgvwk08uQmv1bEg2042; Sat, 16 Feb 2019 08:09:53 -0700 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Windows to Cygwin username mapping: Domain before local account when duplicate name? To: cygwin@cygwin.com References: <50cba8d1-4794-8db9-d1f3-ab9476421db7@gmx.com> <20190215163817.GI2702@calimero.vinschen.de> <20190215202936.GL2702@calimero.vinschen.de> <20190215204326.GO2702@calimero.vinschen.de> <3bace8f4-1097-9245-10e9-1ed54d1014f3@SystematicSw.ab.ca> <20190216094528.GT2702@calimero.vinschen.de> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <959f0e79-1ede-878a-6306-d0bdd8d7ef0e@SystematicSw.ab.ca> Date: Sat, 16 Feb 2019 15:33:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00228.txt.bz2 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