You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# NOTE: Whenever you modify this file you should run the command# "testparm" to check that you have not made any basic syntactic # errors. [global]workgroup = io-labs.de
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
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
min protocol = SMB2
inherit permissions = yes
ea support = yes
vfs objects = catia fruit streams_xattr
# MacOS settings
fruit:model = MacMorla
fruit:advertise_fullsync = true
fruit:aapl = yes
fruit:encoding = native
fruit:veto_appledouble = no
fruit:nfs_aces = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:delete_empty_adfiles = yes
fruit:metadata = stream
# Make share visible to Windows
ntlm auth = yes
wins support = yes
local master = yes
preferred master = yes
# Allow symlinks
follow symlinks = yes
wide links = yes
unix extensions = no
#======================= Share Definitions =======================[TimeMachine]path = /tank/time_machine/%U
valid users = @backup
writable = yes
kernel oplocks = no
kernel share modes = no
posix locking = no
browseable = yes
read only = no
inherit acls = yes
fruit:time machine = yes
root preexec = /etc/samba/scripts/create_user_time_machine.sh %U
[User]path = /tank/user/%U
valid users = @shares
writable = yes
browseable = yes
read only = no
root preexec = /etc/samba/scripts/create_user_share.sh %U
[Public]path = /tank/public
comment = Public
available = yes
public = yes
writable = yes
browsable = yes
## [homes]# comment = Home Directories# browseable = no# read only = no## # File creation mask is set to 0700 for security reasons. If you want to# # create files with group=rw permissions, set next parameter to 0775.# create mask = 0700## # Directory creation mask is set to 0700 for security reasons. If you want to# # create dirs. with group=rw permissions, set next parameter to 0775.# directory mask = 0700## # By default, \\server\username shares can be connected to by anyone# # with access to the samba server.# # The following parameter makes sure that only "username" can connect# # to \\server\username# # This might need tweaking when using external authentication schemes# valid users = %S#