Page 1 of 1

Host-Only Samba Install Vista Host Fedora Guest

Posted: 16. Jan 2010, 20:19
by sesproul
Hello,

I am working on 3 days setting up SAMBA for my guest fedora 11 VM. this is also the first time I have set up SAMBA on a Linux instance, so I am not sure if even that is working correctly.

I have a few questions. and below is my SAMBA Config file:

1) will the Host be able to see the Guest using Host-only networks.
2) What specificly needs to be done to the SELINUX to allow the windows machine to see the Fedora Share.
3) Is the Samba file correct for what I am trying to accomplish.
4) what logs can I look at to see if anything is wrong on either side of the interface.
5) the Host only network is the 192.168.56.x VBOX is x.x.x.101, Linux is x.x.x.1
6)
As I have never seen a working SAMBA configuration, I do not know what it should behave like when viewed from LINUX or Windows. So I am sort of grasping at straws determining what My next steps should be.

I already reloaded Samba, and the client using YUM and the SMB service is installed, and started in FEDORA.

Code: Select all

[global]

# ----------------------- Network Related Options -------------------------
workgroup = MSHOME
server string = Samba Server Version %v
interfaces = lo eth0
bind interfaces only = true
netbios name = FEDORA
security = share
guest account = nobody

# --------------------------- Logging Options -----------------------------

log file = /var/log/samba/log.%m
max log size = 50


#============================ Share Definitions ==============================

[homes]
comment = Home Directories
browseable = no
read only = no

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

[www]

path = /var/www/html
comment = Guest access share

browseable = yes
read only = yes
guest ok = yes
IFCONFIG

Code: Select all

eth0      Link encap:Ethernet  HWaddr 08:00:27:01:F4:27
          inet addr:192.168.56.1  Bcast:192.168.56.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe01:f427/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:650 errors:0 dropped:0 overruns:0 frame:0
          TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:68207 (66.6 KiB)  TX bytes:143023 (139.6 KiB)

Any help is greatly appreciated in order to get started.

Steve

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 16. Jan 2010, 20:25
by sej7278
instead of host-only samba, you're better off using shared folders - you need guest additions installed, but its one less network service to run on the host, probably a bit more secure too (no network traffic).

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 22. Jan 2010, 19:53
by sesproul
How do you set these up instead of the SAMBA install?

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 23. Jan 2010, 00:14
by sej7278
sesproul wrote:How do you set these up instead of the SAMBA install?
RTFM my friend, RTFM.

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 1. Jun 2010, 21:32
by sesproul
Thanks - I'll check it out, Since the SAMBA has since died on this box (VISTA is a real POS)

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 21. Nov 2012, 17:30
by hamidi
hi
i've the same problem.
let's concentrate on host-only adapter. assume that i can't use bridge and i've forced to use nat. i've to use host-only for accessing samba shares.
just let me know how is it possible?
thx
OS: ubuntu 10.10

Re: Host-Only Samba Install Vista Host Fedora Guest

Posted: 21. Nov 2012, 17:37
by Perryg
hamidi wrote:hi
i've the same problem.
let's concentrate on host-only adapter. assume that i can't use bridge and i've forced to use nat. i've to use host-only for accessing samba shares.
just let me know how is it possible?
thx
OS: ubuntu 10.10
Short answer is yes. Using the host only adapter you can setup a samba share and access it from the host.
Ubuntu has a nice explanation on how setup samba.