Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 9 Apr 2003 14:46:14 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problems with net use statement via sshd on cygwin
Message-ID: <20030409124614.GB1928@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <87k7e56nnb.fsf@blarg.net> <Pine.LNX.4.33.0304081021380.3657-100000@ns.aus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.33.0304081021380.3657-100000@ns.aus.com>
User-Agent: Mutt/1.4.1i

On Tue, Apr 08, 2003 at 10:24:35AM -0700, Richard Sharpe wrote:
> On Tue, 8 Apr 2003, Eric Hanchrow wrote:
> 
> > 
> >     OK, so the echo works, but does:
> > 
> >        ssh user@some-machine net use f: \\\\\\server\\\\share /u:user passwd
> > 
> >     work for you, in that the drive is usable? 
> > 
> > Yes, both interactively and non-:
> 
> Hmmm, this is interesting. A little further checking seems to show that 
> when logged in via ssh from a FreeBSD system to a Win2K system, the drive 
> mapping shown via 'net use' are per-login. I also have a cygwin 
> window/shell up on the box, and can do 'net use /d g:' in my ssh session, 
> which works, and shows G: gone when I do 'net use', however, the cygwin 
> window on the box, and a DOS window on the box both still show G: as being 
> available, and I can do 'dir g:' with no problems.
> 
> What gives. Am I crazy, or just deluded?

It's not you, it's the SMB code in Windows.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

