RE: Mounting Samba Network shares

From: Ben Voigt <bvoigt_at_**********.***>
Date: Tue Nov 11 2003 - 10:46:03 EST

ssh doesn't process samba "ghost" (remembered) drive mounts, because it
doesn't do a full NT login. It just uses the security level of the user.

Mount the drive using this command
net use g: \\server\share /user:USERID

****************************

Ben Voigt
University of Pennsylvania
Electrical Engineering PhD Student

voigt@seas.upenn.edu <mailto:voigt@seas.upenn.edu>
BVoigt@kas.com <mailto:BVoigt@kas.com>

Support a Constitutional Amendment to protect the Pledge of Allegiance and
National Motto.
Click here for more information. <http://www.wepledge.com/>

****************************

-----Original Message-----
From: ssh-l-bounces@erdelynet.com [mailto:ssh-l-bounces@erdelynet.com]On
Behalf Of Max Dyckhoff
Sent: Tuesday, November 11, 2003 9: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.
---
--- Incoming mail is certified Virus Free by AVG ---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003
--
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 13:17:01 2003

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