delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/02/19:23:05

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 (update)
Date: Fri, 02 Mar 2007 19:22:08 -0500
Lines: 30
Message-ID: <874pp3p45r.fsf@valverde.peloton>
References: <87ejo7p59m DOT fsf AT valverde DOT peloton>
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

David Abrahams <dave AT boost-consulting DOT com> writes:

> I have a Windows XP64 and XP (32-bit) virtual machine running on the
> same actual hardware, both with a cygwin installation, running sshd.
> When I ssh into the XP64 machine and issue
>
>   net use s: \\\\machine-name\\share-name password /USER:username
>
> it works just fine, but not on the 32-bit XP machine:
>
>   System error 5 has occurred.
>
>   Access is denied.
>
> The only difference I can see is that on the XP64 machine, the user
> that runs the sshd service is ".\sshd_server" whereas it's the local
> system user on the XP32 machine.  I accepted (at least I think so) the
> offer of privilege separation in both installations.

Rejecting privilege separation on the XP32 machine doesn't help.
After restoring privilege separation, I can mount the shares for
cygwin using "mount", but still can't make it available to native
Win32 tools with "net use."

Again, any help appreciated.

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