delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/01/22:46:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8B21D3857C6C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=tlinx.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cygwin AT tlinx DOT org
Message-ID: <5F9F80E9.3010502@tlinx.org>
Date: Sun, 01 Nov 2020 19:45:45 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: =?UTF-8?B?RGF2aWQgQmFsYcW+aWM=?= <xerces9 AT gmail DOT com>
Subject: Re: Conflict if same username local and in domain
References: <CAPJ9Yc8QBJT9yAbE6QB1TZGTWtOd8mHkgZ5534ZnnOKs0jh4bg AT mail DOT gmail DOT com>
<5F9B291F DOT 7060806 AT tlinx DOT org>
<CAPJ9Yc_zGA++VuVqS9aLh4GbhV3dA-CvXk7prrnAg8AeyCPnQQ AT mail DOT gmail DOT com>
In-Reply-To: <CAPJ9Yc_zGA++VuVqS9aLh4GbhV3dA-CvXk7prrnAg8AeyCPnQQ@mail.gmail.com>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0A23kb0J030475


On 2020/10/31 03:56, David Balažic wrote:
> I don't have any of  /user /users /User /Users folders on my setup.
> Do you mean C:\Users ?
---
	Sorry, yeah.
> 
> Even if I symlink it, won't that just change the location, but not the
> used usernames?
----
	You have one user in the Domain and one on the machine.  Right?
I mean, you've verified that they have different "GUIDs" or "UUIDs" --
meaning that windows see them each as separate accounts.

	When you login to each username under windows, run 'cmd.exe', then
echo %USERPROFILE%, %HOMEPATH%.  If you are getting the same value, I think 
you don't really have 2 accounts -- but since you got the access denied, it 
sounds like you do.

	Easiest is to put your homedir in or under your your HOMEPATH directory.

	like in cmd.exe, I think it's:

mklink /d C:\home "C:\%HOMEPATH%"

(sorta backwards what you might do at the cygwin prompt)...



--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019