xxxxxxxxxx[global] workgroup = WORKGROUP server string = %h server (Samba TRIM) security = user wsdd2 #解决 Windows10 无法在网上邻居中自动发现的问题(替代NetBios) client min protocol = NT1 server min protocol = NT1 vfs objects = trim_perms full_audit full_audit:prefix = %u full_audit:syslog = true full_audit:success = create_file mkdirat renameat mknodat unlinkat pwrite_recv pwrite_send pread_recv pread_send server multi channel support = yes socket options = TCP_NODELAY IPTOS_LOWDELAY use sendfile = yes read raw = yes write raw = yes min receivefile size = 16384 aio read size = 1 aio write size = 1 max xmit = 65536 large readwrite = yes fruit:model = TimeCapsule log level = 0 auth:1 acls:1 passdb:1 smb:1 log file = /var/log/samba/log.%m max log size = 1000 lock directory = /var/run/samba logging = syslog panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes passdb backend = tdbsam 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 usershare allow guests = no follow symlinks = yes wide links = yes unix extensions = no include = /etc/samba/smb.custom.conf include = /etc/samba/users/%Y.share.conf include = /etc/samba/users/%Y.timas.confx
[global] workgroup = WORKGROUP durable handles = yes smb encrypt = required max connections = 2000 create mask = 0766 directory mask = 0777 server signing = auto server multi channel support = yes min protocol = SMB2_10 reset on zero vc = no wins support = no veto files = /._*/.DS_Store/ delete veto files = no vfs objects = trim_perms full_audit aio read size = 1 aio write size = 32768 oplocks = no interfaces = 192.168.0.56/24 bind interfaces only = yes[Photos] path = /vol3/1001/Photos browseable = yes available = yes writeable = yes hide special files = yes hide unreadable = yes oplocks = no vfs objects = full_audit shadow_copy2 shadow:format = GMT%z-%Y.%m.%d-%H.%M.%S shadow:snapdir = /vol3/@snapshot/1001[files] path = /vol3/1001/files browseable = yes available = yes writeable = yes hide special files = yes hide unreadable = yes oplocks = no vfs objects = full_audit shadow_copy2 shadow:format = GMT%z-%Y.%m.%d-%H.%M.%S shadow:snapdir = /vol3/@snapshot/1001