From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130467 invoked by alias); 16 Feb 2019 15:33:26 -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 130456 invoked by uid 89); 16 Feb 2019 15:33:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=inglis, Inglis, $computername, HOSTNAME X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Feb 2019 15:33:24 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MVdYY-1gVlK92KLE-00RXdz for ; Sat, 16 Feb 2019 16:33:21 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id AC50BA80677; Sat, 16 Feb 2019 16:33:20 +0100 (CET) Date: Sat, 16 Feb 2019 15:35:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Windows to Cygwin username mapping: Domain before local account when duplicate name? Message-ID: <20190216153320.GC4256@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <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> <959f0e79-1ede-878a-6306-d0bdd8d7ef0e@SystematicSw.ab.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <959f0e79-1ede-878a-6306-d0bdd8d7ef0e@SystematicSw.ab.ca> User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-02/txt/msg00229.txt.bz2 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1168 On Feb 16 08:09, Brian Inglis wrote: > 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 Cyg= win or with > >>> getent? > >> > >> AFAICT, the "." shortcut does not work in Cygwin. > >=20 > > The combining operator for domain prepended usernames is '+'. This > > is the same character as used by good old Interix for the same purpose. >=20 > That was not in question - the question was could .+$USER be used in lieu= of > $COMPUTERNAME+$USER or $HOSTNAME+$USER and should $COMPUTERNAME rather th= an > $HOSTNAME be used in such contexts? Yeah, I misunderstood this, sorry. The answer is no. The username is fixed. Otherwise you'd have two auto-generated passwd entries for the same user which may lead to confusion (not necessarily confusion on the user side...) If this is a desired feature, we could try this, but it might break existing setups again. Corinna --=20 Corinna Vinschen Cygwin Maintainer --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxoLUAACgkQ9TYGna5E T6Dcaw/9Fk119KEIi9YItPOwzWmDdhb/C/QL0LxKg6mHPG2ZLCOEW/6iP7vQTZZN 3qCjQy9dzCIUjmrSCiN4WDu9XXyvvRaJSdehxTyIz6ItWFxcd1Ti5uVi7swkaxDU lta2VTlVteuPOTLSxBcNSZrl/SyWIbdJN0IfNeUXcuUFLnBoQQ6UiKcviAUUwozK vXVlRst20COOJWIYWmbHi1QVHT/fqFLZutZ6ULX5PJgp27wPXjq35JZxlHMh6npf 0wnY/3KRoz0QT74npvjNpeU8aVRPFZ4aiEv+6vVxJivsfxJsG9sngV4ljKCs/O4M 7PlL9R1ZjiRZ+UrtJjzFj7VVB6nCSzlbTNm5KlygRizTV+rUaK2XyiTTfrYkifAY pOn1TAEm1OLP8nF2YLfIRBQDogUAlJ3DnBD15TfZeA1Fd9NAoWbFgtB0JNd+WOfO jEaVLKh7KIiyDqXSb7a4JpPey3lJyJ76iVlVYjOzNgzM2Jguf6H/TageOSUS9DmB iC5yaFrZD4ejphNPdr8fpxH2/AXK/IN1BBpPsCYI/yxKHoQCkW6mcEDLiKRSc+yl vL4eaER+sUK0YPzdVj0lT08NoxVJO//JBT7/wDVqF7ipNTUF6FqaEa9aC4JHzuCB ZBT67OuOP3Cf0BGwgRuQHeDRXtA+rRIclh0yq0H9RjDbIFqddOg= =y0Az -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg--