No Description

Eliezer Croitoru 2782c7c2ce Adding the samba configuration related links 1 year ago 2782c7c2ce Adding the samba configuration related links 1 year ago

Linux Captain Logs



  • Installing a mail server ontop of Debian 9
  • Installing a NAS (Samba+NFS) solution ontop of Debian 9
  • Adding to the current public Ubuntu 16.04 NAS(Samba+NFS) a local mail server
  • Upgrading the current public Ubuntu 16.04 NAS
  • Finding out why the default Ubuntu 16.04 and Debian 9 Samba service doesn't broadcast or being seen by it's netbios name at the windows "network".


  • While installing the mail server ontop of the Ubuntu 16.04 NAS(using tasksel) it apears that the mail syslog entries was not redirected into /var/log/mail.* files. To resolve this issue I had too investigate the rsyslogd settings. Then I tried to understand what is the issue using some googling foo and.. the conclusion was that it's probably permissions or something related to rsyslogd. Resolution: The solution was to create the files /var/log/mail.log and /var/log/mail.err and change their ownership. The right ownership for these files is "syslog:adm" ie:

    touch /var/log/mail.log
    touch /var/log/mail.err
    chown syslog:adm /var/log/mail.*
  • While researching why Samba will not publish it's netbios name and will now show up in the windows "network" browser I found out that samba by default doesn't take the role of a "master" in the workgroup/domain. To resolve the issue you need to make the service at-least a "local master" by adding to the smbd.conf [global] section the next lines:

    domain master = no
    local master = yes
    preferred master = yes

    Thanks for the arch linux samba docs