delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/27/14:21:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A9BF9B0.E2B01487@enigmadata.co.uk>
Date: Tue, 27 Feb 2001 19:02:08 +0000
From: Colin Jones <cjones AT enigmadata DOT co DOT uk>
Organization: Enigma Data Systems
X-Mailer: Mozilla 4.74 [en] (X11; U; SunOS 5.7 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Cygwin ftpd and NT shares

Hi all,

I have Cygwin (v1.1.4) installed on an NT workstation,
with inetd running.

This machine is typically connected to a number of network drives
(shares).  What I would like is for these shares to be visible to users
that connect to the ftpd daemon running under Cygwin.

At the moment, if user X connects through ftp, the shares that are
normally available to X are not accessible - even when user X is
simultaneously logged on at the console (as an NT user) and the
appropriate shares are available.

A similar problem arises when you are connecting via telnet.  After
reading various posts relating to NT shares, I am aware that one way
around this is to issue a net use command for each and every session.
(This raises another problem in that, unless you issue a "net use X:
/delete"
command before logging out, it appears that the drive letter
cannot be reused on subsequent telnet connections)

In the case of ftp, however, there is no obvious way of issuing
the equivalent of a net use command on behalf of the remote user.

I'm hoping that I am missing something obvious here.  Maybe there are
some Cygwin/NT environment or registry tweaks that will allow what I
wan't.

Are there any experts out there that can shed some light as to whether
Cygwin supports this type of thing in principle, or whether I would
need to do some serious hacking to either ftpd, inetd, or the cygwin
"kernel" itself.

Any pointers at all would be greatly appreciated
Colin Jones (cjones AT enigmadata DOT co DOT uk)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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