From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [159.69.161.202]) by sourceware.org (Postfix) with ESMTPS id B46CB3959C26 for ; Thu, 23 Apr 2020 21:51:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B46CB3959C26 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mehconsulting.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=goc-cygwin@m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jRjkL-0001lg-AX for cygwin@cygwin.com; Thu, 23 Apr 2020 23:51:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Mark Hansen Subject: Re: Problems with ssh when I log into my PC using my corporate domain while working from home Date: Thu, 23 Apr 2020 14:50:54 -0700 Message-ID: <448cf4fe-0697-771d-c8e4-81d778f5ca4e@mehconsulting.com> References: <4c387fd0-db14-2d8f-3590-54c83e3a60e7@mehconsulting.com> <5fb8039b-d12c-a382-3055-3fb356fb60cd@gmail.com> <958405ee-bb3c-042b-fba9-164a75daa87f@mehconsulting.com> <486cb900-a8ed-a87e-d04c-c1612871c530@gmail.com> <1e9afb37-c076-4a06-08bc-4410205251b7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 In-Reply-To: <1e9afb37-c076-4a06-08bc-4410205251b7@gmail.com> Content-Language: en-US X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, BODY_8BITS, COVID_BODY, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 21:51:04 -0000 On 4/23/2020 12:30 PM, Marco Atzeri via Cygwin wrote: > > > Am 23.04.2020 um 21:19 schrieb Marco Atzeri: >> Am 23.04.2020 um 17:25 schrieb Mark Hansen: >>> On 4/23/2020 5:51 AM, Marco Atzeri via Cygwin wrote: >>>> Am 23.04.2020 um 13:54 schrieb Mark Hansen: >>>>> On 4/21/2020 2:52 PM, Mark Hansen wrote: >>>>>> On 4/21/2020 8:33 AM, Mark Hansen wrote: >>>>>>> I have a Windows 10 laptop, on which I installed Cygwin. I always >>>>>>> log into the machine using >>>>>>> my corporate domain account. When I log into the machine from my >>>>>>> office, everything Cygwin >>>>>>> works fine. >>>>>>> >>>>>>> When I log into my laptop from home (which I'm working from home >>>>>>> for a while now, due to >>>>>>> COVID-19), I still log in using my corporate domain account, but >>>>>>> Cygwin acts differently. >>>>>>> >>>>>>> Here is my user id (from the id command) when I log in from the >>>>>>> office: >>>>>>> >>>>>>> uid=1293438(Mark.Hansen) gid=1049089(Domain Users) ... >>>>>>> >>>>>>> Here is the same when I've logged in with the machine at home: >>>>>>> >>>>>>> uid=1293438(MAN+User(244862)) gid=1293438 >>>>>>> >>>>>>> (MAN) is the domain. >>>>>>> >> >>>> >>>> check the differences in outputs for >>>> >>>>       "mkpasswd -c" and "id" >>>> >>>> in the two cases. >>>> >>>> >>>> >>> >>> I have the differences for 'id' in the two cases. However, I currently >>> don't have access to >>> my office during the 'stay at home' order we're having to honor these >>> days. >>> >>> I don't understand the difference in the 'id' output, but they are >>> different. I showed >>> the first little bit of each in my first message. Does this help? >>> Should I attach the >>> complete output of the two runs here? >>> >> >> I would look at any differences in the 4th and 5th field of >>  "mkpasswd -c" output >> > > 5th (SID) and 6th (Home) > Here is my mkpasswd -c output while the machine is at home (I can't run it at the office, as I'm not allowed to go there at this time): Mark.Hansen:*:1293438:1049089:U-MAN\Mark.Hansen,S-1-5-21-602162358-1060284298-725345543-244862:/cygdrive/c/Users/mark.hansen:/bin/zsh Note that my domain is "MAN" not "U-MAN" - I don't know if that is significant. This does show my home directory as /cygdrive/c/Users/mark.hansen, which is correct.