samba question moving to LTS 12.04

Linda haniganwork at earthlink.net
Tue Oct 16 20:53:28 UTC 2012


Just an additional note on migrating to LTS 12.04 and a 
newer version of samba
I decided to install the graphical samba configuration tool 
and let it create a samba configuration file to see what 
happened. When it was done I ran testparm on it and got the 
same error message  ERROR: You must specify both machine 
name and an IP address
  Just to see what happened I started samba with both the 
newly created smb.conf and the old version, both seem to 
work fine. However I would rather not generate an error when 
I run testparm on the file. Any idea what I should add to 
get rid of the message?

I won't repost the whole smb.conf but here is the global section

[global]
     ; General server settings
     netbios name = sun
     server string =
     workgroup = OFFICE
     announce version = 5.0
     socket options = TCP_NODELAY IPTOS_LOWDELAY 
SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

;   passdb backend = tdbsam
     security = user
     null passwords = true
     username map = /etc/samba/smbusers
     name resolve order = hosts wins bcast

     wins support = yes

     printing = CUPS
     printcap name = CUPS

     syslog = 1
     syslog only = yes

     browseable = yes






More information about the ubuntu-users mailing list