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:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=wut/NGxfo+HNVAJV kTriIa0DHl9Wzcretc4a43HFWpRYaAQumM8+aDlmNpSqMT+rL7udPSjiuBSBGdyv 2w8oi6dme1QnLsCK3zME6xzgrU/1875vFJ31b/fwvEag6gRD1qwol+l6sGdB4wF5 f8I+peU711Rh/av0WT92TsqpGqA= 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:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ErmHScfn5O1Rq3f8a/phaz 5H1Bk=; b=ynD9fYbHepnLU2BjLkwWTg2Hm3ZIF7mNJ/pPPssodH6Co9jZB9hQZM GdMedIrMvl0RgC5eWd1U3RIjWqWUo9zCwcQK14e5Ke0a+LyKAmLC0N3v8Sd522CX THQouiEVzln1zIQ6JxinNoDIoUxs0FdFnbzkp8JSIQcTtSezSb3T8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Consider, H*UA:6.1, H*u:6.1 X-HELO: mout.gmx.net Subject: Re: Windows to Cygwin username mapping: Domain before local account when duplicate name? To: cygwin AT cygwin DOT com References: Reply-To: cygwin AT cygwin DOT com From: "Sam Edge (Cygwin)" Openpgp: preference=signencrypt Message-ID: <50cba8d1-4794-8db9-d1f3-ab9476421db7@gmx.com> Date: Fri, 15 Feb 2019 09:31:40 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 14/02/2019 23:47, Bill Stewart wrote: > Consider the case where you have a local account and a domain account > with the same username. > > If you supply just the username to Windows without an authority name, > Windows returns the local account. To get the domain account, you'd > have to specify an authority (e.g. domain\username). > > It seems like Cygwin looks up the domain account first. > > Is this correct, or am I missing something? Is this by design? > > Thanks, > > Bill https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-how explains in more detail. -- Sam Edge -- 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