[global] netbios name = server #socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 map untrusted to domain = Yes security = user encrypt passwords = true guest account = workstation map to guest = Bad Password log level = 3 name resolve order = bcast lmhosts host wins domain master = no local master = yes preferred master = yes #server min protocol = SMB2 #server max protocol = SMB3 ntlm auth = yes workgroup = WORKGROUP dns proxy = no interfaces = 192.168.1.5 bind interfaces only = yes log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d server role = standalone server 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 include = /etc/samba/smb.conf.client-%I [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [data] public = yes path = /data/shares/data guest ok = yes writable = yes hide unreadable = yes create mask = 0664 directory mask = 0775 force directory mode = 2775 force create mode = 0664 read only = no vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes vfs objects = full_audit full_audit:prefix = %u|%I|%m|%S full_audit:success = mkdir rename rmdir pwrite write unlink open close full_audit:failure = mkdir rename rmdir pwrite write unlink open close full_audit:facility = local7 full_audit:priority = warning [applications] public = yes path = /data/shares/applications guest ok = yes browsable = yes writable = no hide unreadable = yes create mask = 0664 directory mask = 0755 vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes