#======================= Global Settings ======================= [global] workgroup = WG server string = %h server wins support = no wins server = 192.168.100.1 dns proxy = no name resolve order = lmhosts host wins bcast unix extensions = no server signing = disabled #### Networking #### ; interfaces = 127.0.0.0/8 eth0 ; bind interfaces only = yes #### Logging #### log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d ####### Authentication ####### security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user client min protocol = SMB2 client max protocol = SMB3 #======================= Share Definitions ======================= [homes] comment = Home Directories browseable = yes writeable = yes read only = no create mask = 0700 directory mask = 0700 valid users = %S [Aufnahmen] comment = VDR Aufnahmen path = /mnt/sda1/video0 browseable = yes writeable = yes read only = no #create mask = 0700 #directory mask = 0700 #valid users = %S create mask = 0664 directory mask = 0775 force group = users follow symlinks = yes wide links = yes load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes