delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/07/23:40:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 7 Apr 2003 23:40:03 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Richard Sharpe <rsharpe AT richardsharpe DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems with net use statement via sshd on cygwin
In-Reply-To: <Pine.LNX.4.33.0304072010030.6039-100000@ns.aus.com>
Message-ID: <Pine.GSO.4.44.0304072327140.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 7 Apr 2003, Richard Sharpe wrote:

> On Mon, 7 Apr 2003, Igor Pechtchanski wrote:
>
> > Richard,
> >
> > Can you access the share itself through a UNC pathname?
> > Is it a Samba share?  What is the output of a simple "net use"?
> > FWIW, I've just tried to access a Samba share from an ssh session, with no
> > luck...
>
> Well, if I bring up a cygwin window and enter:
>
>   net use g: \\\\10.0.1.5\test /user:tigerteam\\rsharpe <password>
>
> it works and I can use the share.
>
> The server is a NetApp F840.
>
> It seems that it is only when I try to do that via ssh from another system
> that I get into trouble ...
>
> Regards
> Richard Sharpe

Richard,

What I meant was, from an ssh session, if you try the following commands,
what is the output:

1) net use
1) ls //10.0.1.5/test

Also, you may try "net use '*' '\\10.0.1.5\test' /user:'tigerteam\rsharpe'"
and have it ask for a password...

I have a Samba share, and "net use" lists it as "Unavailable", even though
I use password authentication.  I'm wondering if you might be having a
similar situation.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


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