That depends how "remote" your other machine is. The samba ports (137...139) are not considered very secure and no netop in his right mind would let that through. The ports usually get blocked in the firewalls along the way. In addition, it would be really, really slow.
Now if you have ssh access from your windows to the remote machine, it's best and more efficient to tunnel the connections.
Here's how ( replace remote-mchine with the name of you actual one)
Quote:
ssh -L 139:remote-machine:139 -L 137:remote-machine:137 -L 138:remote-machine:138 yourname@remote-machine
|
That tunnels all 3 ports in question. You must do this as root on a Linux box, but I believe your windows machine lets you do this anyway.
Then if //remote-host/share is the sharename, substitute //localhost/sharename
[ map network drive -> then type it ]. On Linux I just tried that and typed
Quote:
mount -t smbfs //localhost/share /mountpoint
|
Works fine.
If you wonder where you type the ssh command on windows, download and install cygwin (
http://www.cygwin.com ). At the installation config, add the ssh stuff.
Hope it helps,
mlp