This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with net use statement via sshd on cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]