X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0	tests=AWL,BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <5063BAF5.4000807@cygwin.com>
Date: Wed, 26 Sep 2012 22:33:25 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: OpenSSH, Windows 2000, cygrunsrv 1.0
References: <loom.20120919T134338-941@post.gmane.org>
In-reply-to: <loom.20120919T134338-941@post.gmane.org>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
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 9/19/2012 7:56 AM, Andre Rothe wrote:
> Hi,
>
> I have to use an outdated system with Windows 2000 Server and an OpenSSH service
> on it. It uses OpenSSH 3.8.1p1-1 for Windows, which uses a Cygwin server v1.0 or
> something.
>
> The problem:
>
> I try to mount a windows network share on the Cygwin server to use it as home of
> the ssh users. In the registry I have defined a new mountpoint /transfer with a
> native key Z:\data
>
> Z: is a windows network share which is connected by a remote user account. The
> OpenSSH service runs as NT AUTHORITY\SYSTEM, I have mapped the drive Z as SYSTEM
> user (with a scheduled task, which runs as NT AUTHORITY\SYSTEM, just before I
> start the OpenSSH service with net start).
>
> But I cannot access the mountpoint (it is not available), every SSH user gets an
> error and the current path is /.
>
> How I can change the settings to get access to the drive? Please hold in your
> head, that I must use Windows 2000.

Have you seen this FAQ?

<http://cygwin.com/faq-nochunks.html#faq.using.shares>

You've created a mapped drive for the SYSTEM account but just like any other
user account, these aren't really accessible to all users.  While the FAQ
points to the Users Guide that has lots of info and options for configuring
access, you may find you can get by with connecting to the network share
you want as part of the login script for each user.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

