I have migrated a client's server from Ubuntu 8.04 to 11.04 (they wanted that instead of debian 6 or ubuntu server, despite my best efforts)
The only service still hanging in the balance is samba.
It refuses any connections to it and I can not figure out why.
Here is my conf file: (i noticed the interface line is commented out - eth0 is what the machine uses, it was commented out on the old machine and worked though)
Code:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = no
; wins server = w.x.y.z
dns proxy = no
name resolve order = lmhosts host wins bcast
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = true
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = no
syslog = 2
unix password sync = yes
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
# Below - obey pam restrictions = yes changed to no by IT Guy 18 March 2010 1129am
obey pam restrictions = no
guest account = nobody
#invalid users = root
map to guest = bad user
socket options = TCP_NODELAY SO_RCVBUF=32767 SO_SNDBUF=32767
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
# This might need tweaking when using external authentication schemes
valid users = %S
[public]
comment = Public Share
browseable = yes
read only = no
create mask = 0775
directory mask = 0775
#path = /samba/public
path = /home/public_share/public
write list = user1 user2 user3
valid users = user1 user2 user3
max connections = 15
I also noticed this:
Code:
root@mail:/etc/init.d# start smbd
start: Job is already running: smbd
root@mail:/etc/init.d# chkconfig smbd
smbd off
Can anyone see what is going wrong?
Thanks in advance.
-mtlhd