RE: Mounting Samba Network shares

From: Johnson, Michael <Michael.Johnson.03_at_**********.***>
Date: Tue Nov 11 2003 - 11:33:52 EST

Most of those solutions involving changing the user, etc. help with
"automatic" share mounting. The reason you can see the share in the Cygwin
session on the Windows machine is because you are already logged-in locally
and any special share mounts are done for you by Windows. Connecting via
OpenSSHd never really logs you in the Windows way, so this does not happen
(hence solutions making the service run as a specific user).

If you do not mind doing things the manual way, you can resort to the net
use command. If you are unfamiliar with it, it uses the syntax "net use
drive: \\server\share /user:username" replace drive, server, share, and
username with the appropiate text to get the command you need.

 -Michael
  http://lexa.mckenna.edu/sshwindows/

-----Original Message-----
From: Max Dyckhoff [mailto:mdyckhoff@frd.co.uk]
Sent: Tuesday, November 11, 2003 6:02 AM
To: ssh-l@erdelynet.com
Subject: Mounting Samba Network shares

I've been trying to find the solution to this problem in many places, but
regrettably I have been unable to find one that is completely descriptive
- I am primarily a Linux/Mac OS X user and so Windows networking is
somewhat confusing to me.

Here's the problem (which has apparently been "beaten to death" on this
list, but as I said, I fail to find any comprehensive answers):

I have a Linux machine with Samba sharing my home directory. I have a
Windows machine running Cygwin and Windows 2000. I have set up the sshd
service as described on the page: http://tech.erdelynet.com/cygwin-sshd.html

When I ssh from my Linux machine into the Windows machine, everything
boots up fine, but I can't access my Samba share, which should be mounted
in G: drive. If I open up a cygwin session on Windows it shows the drive
mounted.

The answers I have found involve running the sshd service as a different
user, and using "password authentication" to login via SSH. I understand
both of these, but am not sure how to implement either. When I SSH in it
asks me my password (I don't use key sharing), and when I try to change
the user for the service I am unable to select one that works.

Help me!

Max

--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to
http://tech.erdelynet.com/mailman/options/ssh-l#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/options/ssh-l#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Tue Nov 11 11:38:09 2003

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:01 EDT