Samba Config

Table of Contents

Quick samba config to share home directory only.


workgroup = MYGROUP
server string = %m
server role = standalone
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = no

# --- Disable printer queue
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
# ---

comment = Home Directories
browseable = yes
writable = yes
force create mode = 0600
force directory mode = 0700

lpqd should not start anymore.

Disable NetBIOS

Comment out nmbd related options in /etc/conf.d/samba (Alpine Linux):

# Add "winbindd" to daemon_list if you want start winbind from here as well
#daemon_list="smbd nmbd"
# Use "samba" alone for role based samba4 services (eg: ad-dc).

John Siu
Minimize the Effort, Maximize the Effect!
comments powered by Disqus