delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/13/08:42:17

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: David Abrahams <dave AT boost-consulting DOT com>
Subject: Re: sshd: can't mount samba shares
Date: Tue, 13 Mar 2007 09:40:43 -0400
Lines: 38
Message-ID: <876495i7ms.fsf@valverde.peloton>
References: <87ejo7p59m DOT fsf AT valverde DOT peloton> <20070305102955 DOT GA21715 AT calimero DOT vinschen DOT de> <87lkibg60i DOT fsf AT valverde DOT peloton> <20070305141920 DOT GB23520 AT calimero DOT vinschen DOT de> <87y7ma8fez DOT fsf AT valverde DOT peloton> <20070307140845 DOT GO24859 AT calimero DOT vinschen DOT de> <87zm6o666m DOT fsf AT valverde DOT peloton> <87odn22u0h DOT fsf AT valverde DOT peloton> <20070312124350 DOT GB30716 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

on Mon Mar 12 2007, Corinna Vinschen <corinna-cygwin-AT-cygwin.com> wrote:

> On Mar  9 12:42, David Abrahams wrote:
>> Corinna, if you indeed have a very basic setup, it should be very easy
>> to find out where my setup differs.  I sure would appreciate it.
>
> Well, if you can tell me what parameter I should look for, I can tell
> you my setting.

Well, I'm not really sure what to look for either, but let's start
with the environment.  When you ssh into your XP32 machine and do

    set | grep USER

what do you see?  I see

  ALLUSERSPROFILE='C:\Documents and Settings\All Users'
  USER=dave
  USERDOMAIN='NT AUTHORITY'
  USERNAME=SYSTEM
  USERPROFILE='C:\Documents and Settings\dave'

So it appears XP thinks I"m the local system user.  From what I've
read, the local system user doesn't have permission to "net use"
anything.  A cygwin shell launched directly under XP32 reports:

  ALLUSERSPROFILE='C:\Documents and Settings\All Users'
  USER=dave
  USERDOMAIN=HYDRA-XP
  USERNAME=dave
  USERPROFILE='C:\Documents and Settings\dave'


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


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

- Raw text -


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