VMware and Samba
Dave M
DaveM at Mich.Com
Mon Apr 9 14:42:47 UTC 2007
At 02:33 PM 4/7/2007 , you wrote:
>On 4/6/07, Dave M <DaveM at mich.com> wrote:
> > I am attempting to set up Samba to allow my VMware guest (win2k) to share a
> > folder on my Ubuntu system (v6.06 dapper). I used the HowTo
> > (http://ubuntuforums.org/showthread.php?t=296668) as my guide. When i try
> > to make the conection (map \\Ubuntu\VMshare to a drive in Windows) I get
> > the following in my log file.
>
>Just a few clues, (or questions ) to help you.
>
>1. Are you using Bridged LAN or NAT with your gest VM machine?
>If Nat are you able to ping from both sides? the Win2k to Dapper and
>Dapper to Win2k?
>
>2. It is just my opinion but I always prefer to use linux protocols to
>share info between win and linux, so maybe to install winscp or using
>ftp (the server could be any of the sides -or even both-) could be a
>less headache aproach.
>
>best regards,
>Guillermo Garron
Thank you for the suggestions. I am using NAT. I was able to ping in both
directions. But while I was looking at the IP addresses I noticed that the
Firewall (ZoneAlarm on the Windows guest) had NetBIOS blocked out. Adding
my vmnet ip addresses to the "trusted zone" solved that problem.
But I still could not log in to the shared folder. I finally figured out
that I had to either have the same username and password on both the host
and guest or change the "force user =" and "force group =" in smb.conf so
they point to my username on the host side. That works but I still have to
log in manually on the guest side. I do not login on the guest (no
password). Is there any way to get windows to connect to the share
automatically?
I agree with you regarding Linux protocols. I do not feel comfortable
running windows networking. I dont understand it very well and really do
not want to deal with the security issues. But I have not found an easy to
use (and free) networking client for Windows. I am kind of stuck with it to
run a few legacy packages that will probably never have native Linux support.
Is there an easy way to restrict samba so that it will only respond to the
(NAT) IP addresses located on my local network? I would like to prevent
anything in the real world (outside of my network) from seeing samba. I am
using a 2-wire DSL modem that has a gateway/firewall but it doesn't look
like it gives me much flexibility as to what I can block and I am not even
sure what I should be blocking to limit SAMBA access to the local net.
-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
Protect your digital rights: http://www.eff.org
"The 'Analog Holes' they want to stop up are our eyes, ears and mouths."
More information about the ubuntu-users
mailing list