software:samba
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | software:samba [2019/05/31 15:16] – created Michele Porelli | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Samba ====== | ||
+ | ===== How-to ===== | ||
+ | ==== Use Samba as Apple time machine ==== | ||
+ | / | ||
+ | < | ||
+ | # Basic Samba configuration | ||
+ | server role = standalone server | ||
+ | passdb backend = tdbsam | ||
+ | obey pam restrictions = yes | ||
+ | security = user | ||
+ | printcap name = /dev/null | ||
+ | load printers = no | ||
+ | socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=524288 SO_SNDBUF=524288 | ||
+ | server string = Samba Server %v | ||
+ | map to guest = bad user | ||
+ | dns proxy = no | ||
+ | wide links = yes | ||
+ | follow symlinks = yes | ||
+ | unix extensions = no | ||
+ | acl allow execute always = yes | ||
+ | log file = / | ||
+ | max log size = 1000 | ||
+ | guest ok = no | ||
+ | read only = no | ||
+ | valid users = @shareaccess | ||
+ | # username map = / | ||
+ | passdb backend = tdbsam:/ | ||
+ | |||
+ | # Security | ||
+ | client ipc max protocol = default | ||
+ | client max protocol = default | ||
+ | server max protocol = SMB3 | ||
+ | |||
+ | client ipc min protocol = default | ||
+ | client min protocol = CORE | ||
+ | server min protocol = SMB2 | ||
+ | |||
+ | # Special configuration for Apple' | ||
+ | # fruit:model = Laptop | ||
+ | fruit:model = RackMac | ||
+ | fruit: | ||
+ | fruit:aapl = yes | ||
+ | |||
+ | ## Definde your shares here | ||
+ | [TimeMachine Home] | ||
+ | path = / | ||
+ | valid users = %U | ||
+ | writable = yes | ||
+ | durable handles = yes | ||
+ | kernel oplocks = no | ||
+ | kernel share modes = no | ||
+ | posix locking = no | ||
+ | vfs objects = catia fruit streams_xattr | ||
+ | ea support = yes | ||
+ | browseable = yes | ||
+ | read only = No | ||
+ | inherit acls = yes | ||
+ | fruit:time machine = yes | ||
+ | spotlight = yes</ | ||
+ | |||
+ | / | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | - Create group ' | ||
+ | - Create samba user password:< |
software/samba.txt · Last modified: 2020/10/20 10:18 by Michele Porelli