#======================= Global Settings ======================= [global] map to guest = bad user writeable = yes path = /home/$USER # CHANGE $USER TO YOUR USERNAME passdb backend = tdbsam obey pam restrictions = yes max log size = 1000 passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . panic action = /usr/share/samba/panic-action %d log file = /var/log/samba/log.%m logging = syslog@1 /var/log/samba/log.%m unix password sync = yes pam password change = yes server role = standalone server workgroup = WORKGROUP usershare allow guests = yes dns proxy = no wins support = yes local master = yes preferred master = yes client min protocol = SMB2 server min protocol = NT1 #======================= Share Definitions ======================= [Media] path = /mnt/external2 valid users = $USER comment = Movies & TV delete readonly = yes browsable = yes writable = yes read only = no public = yes create mask = 0644 directory mask = 0755 [Music] path = /mnt/external/Music valid users = $USER comment = Music delete readonly = yes browsable = yes writable = yes read only = no public = yes create mask = 0644 directory mask = 0755 [Downloads] path = /mnt/external/Downloads valid users = $USER comment = Deluge Downloads delete readonly = yes browsable = yes writable = yes read only = no public = yes create mask = 0644 directory mask = 0755