Adjusting Samba To Fit In With Your Network

Samba server comes pre-installed on MythTV and set up to share the default recordings, videos and music directories. To our thinking, the choices made for these shares are badly made. Firstly, the workgroup "MSHOME" is chosen as the domain to belong to. Secondly, I don't really care if the media directories are shared.

The following Samba configuration may be more of use to you:

>>>>>>
/etc/samba/smb.conf:

     [global]
     workgroup = WORKGROUP
     server string = %h server (Samba, Mythbuntu)
     log file = /var/log/samba/log.%m
     max log size = 1000
     syslog = 0
     panic action = /usr/share/samba/panic-action %d
     dns proxy = no
     security = share
     [Root]
     comment = Root Directory
     path = /
     public = no
     browseable = yes
     writeable = yes
     write list = @joeblow

Once you've made these changes to smb.conf, don't forget to recycle Samba for them to take effect:

     sudo /etc/init.d/samba restart

Or, for later versions of Mythbuntu (e.g. 12.04) that use init, recycle it like this:

     stop smbd
     stop nmbd
     start nmbd
     start smbd

Also, you may want to add a user or two so that they can access the shared directory:

     smbpasswd -a joeblow

Supply an appropriate password (remember, this needn't be the user's login password).
<<<<<<