Web lists-archives.com

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?




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