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


on Tue Mar 13 2007, David Abrahams <dave-AT-boost-consulting.com> wrote:

> 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'

Also, what do you get from

  net config workstation

?  For me it's:

  System error 1312 has occurred.

  A specified logon session does not exist. It may already have been terminated.

Note also that I don't have a domain; my winoze boxes are just members
of a workgroup.  I don't really know the difference (pointers
appreciated), but if you think it would help I could try to establish
a domain.

-- 
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/

