Problems with net use statement via sshd on cygwin

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Apr 9 16:41:00 GMT 2003


On Wed, 9 Apr 2003, Corinna Vinschen wrote:

> On Tue, Apr 08, 2003@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

Ah, I *KNEW* it!  Andrew, cancel the Q-tip**! :-p
	Igor
** (cf <http://cygwin.com/ml/cygwin/2003-04/msg00762.html>)
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list