I have just installed Ubuntu 12.04 LTS, and installed several Zentyal 2.3 packages. I am having difficulties setting up Samba. I cannot change any General Settings, they are all fixed values:
Server Role:
Administrator password: Zentyal1234
Domain: zentyal.lan
Workgroup: ZENTYAL-DOMAIN
NetBIOS computer name: <my server name>
Description: Zentyal File Server
I have also setup a single share, and have "Guest Access" checked. However, when I try to access the server from my Windows 7 machine, it still requests a username and password. I open my smb.conf file, and see the following:
# Global parameters
[global]
workgroup = ZENTYAL-DOMAIN
netbios name = <my server name>
server string = Zentyal File Server
interfaces = lo,eth0
bind interfaces only = yes
passdb backend = samba4
log level = 1
log file = /var/log/samba/samba.log
name resolve order = wins, host, bcast
server role = dc
realm = zentyal.lan
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/zentyal.lan/scripts
read only = No
# Shares
[default-share]
comment = Default Share
path = /home/ebox/samba/shares/default
browseable = Yes
read only = No
force create mode = 0660
force directory mode = 0660
I am far from a Samba expert, but I am expecting to see at minimum a guest ok or public flag in here, but do not. I have gotten Samba working and talking with my Windows 7 machine in the past (always with GUIs), and this is my first go at Samba4.
Update 5/1/2012:
No errors are reported in the Zentyal log regarding Samba. The following post leads me to believe this should already be fixed:
http://forum.zentyal.org/index.php?topic=9901.0But I am running the latest versions, and this is not the case:
samba4 - 4.0.0~alpha18.dfsg1-4ubuntu2+zentyal1
zentyal-samba - 2.3.5
My samba.log is riddled with the following:
[2012/05/01 20:32:18, 0] ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
/usr/sbin/samba_dnsupdate: RuntimeError: kinit for <my server name>$@ZENTYAL.LAN failed (Cannot contact any KDC for requested realm)