Dockerfile* merge suggested changes for timemachine from samba wiki
This commit is contained in:
parent
a3308732d3
commit
4183cdca14
25
Dockerfile
25
Dockerfile
@ -32,6 +32,8 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo ' disable spoolss = yes' >>$file && \
|
echo ' disable spoolss = yes' >>$file && \
|
||||||
echo ' socket options = TCP_NODELAY' >>$file && \
|
echo ' socket options = TCP_NODELAY' >>$file && \
|
||||||
echo ' strict locking = no' >>$file && \
|
echo ' strict locking = no' >>$file && \
|
||||||
|
echo ' aio read size = 0' >>$file && \
|
||||||
|
echo ' aio write size = 0' >>$file && \
|
||||||
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
||||||
>>$file && \
|
>>$file && \
|
||||||
echo ' recycle:keeptree = yes' >>$file && \
|
echo ' recycle:keeptree = yes' >>$file && \
|
||||||
@ -41,23 +43,20 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Security' >>$file && \
|
echo ' # Security' >>$file && \
|
||||||
echo ' client ipc max protocol = default' >>$file && \
|
echo ' client ipc max protocol = default' >>$file && \
|
||||||
|
echo ' client ipc min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client max protocol = default' >>$file && \
|
echo ' client max protocol = default' >>$file && \
|
||||||
echo ' server max protocol = SMB3' >>$file && \
|
echo ' server max protocol = default' >>$file && \
|
||||||
echo ' client ipc min protocol = default' >>$file && \
|
echo ' client min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client min protocol = CORE' >>$file && \
|
echo ' server min protocol = SMB2_10' >>$file && \
|
||||||
echo ' server min protocol = SMB2' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Time Machine' >>$file && \
|
echo ' # Time Machine' >>$file && \
|
||||||
echo ' durable handles = yes' >>$file && \
|
echo ' fruit:metadata = stream' >>$file && \
|
||||||
echo ' kernel oplocks = no' >>$file && \
|
echo ' fruit:model = MacSamba' >>$file && \
|
||||||
echo ' kernel share modes = no' >>$file && \
|
echo ' fruit:posix_rename = yes' >>$file && \
|
||||||
echo ' posix locking = no' >>$file && \
|
echo ' fruit:veto_appledouble = no' >>$file && \
|
||||||
echo ' fruit:aapl = yes' >>$file && \
|
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
|
||||||
echo ' fruit:advertise_fullsync = true' >>$file && \
|
echo ' fruit:delete_empty_adfiles = yes' >>$file && \
|
||||||
echo ' fruit:time machine = yes' >>$file && \
|
echo ' fruit:time machine = yes' >>$file && \
|
||||||
echo ' smb2 leases = yes' >>$file && \
|
|
||||||
echo ' aio read size = 0' >>$file && \
|
|
||||||
echo ' aio write size = 0' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo ' disable spoolss = yes' >>$file && \
|
echo ' disable spoolss = yes' >>$file && \
|
||||||
echo ' socket options = TCP_NODELAY' >>$file && \
|
echo ' socket options = TCP_NODELAY' >>$file && \
|
||||||
echo ' strict locking = no' >>$file && \
|
echo ' strict locking = no' >>$file && \
|
||||||
|
echo ' aio read size = 0' >>$file && \
|
||||||
|
echo ' aio write size = 0' >>$file && \
|
||||||
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
||||||
>>$file && \
|
>>$file && \
|
||||||
echo ' recycle:keeptree = yes' >>$file && \
|
echo ' recycle:keeptree = yes' >>$file && \
|
||||||
@ -42,23 +44,20 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Security' >>$file && \
|
echo ' # Security' >>$file && \
|
||||||
echo ' client ipc max protocol = default' >>$file && \
|
echo ' client ipc max protocol = default' >>$file && \
|
||||||
|
echo ' client ipc min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client max protocol = default' >>$file && \
|
echo ' client max protocol = default' >>$file && \
|
||||||
echo ' server max protocol = SMB3' >>$file && \
|
echo ' server max protocol = default' >>$file && \
|
||||||
echo ' client ipc min protocol = default' >>$file && \
|
echo ' client min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client min protocol = CORE' >>$file && \
|
echo ' server min protocol = SMB2_10' >>$file && \
|
||||||
echo ' server min protocol = SMB2' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Time Machine' >>$file && \
|
echo ' # Time Machine' >>$file && \
|
||||||
echo ' durable handles = yes' >>$file && \
|
echo ' fruit:metadata = stream' >>$file && \
|
||||||
echo ' kernel oplocks = no' >>$file && \
|
echo ' fruit:model = MacSamba' >>$file && \
|
||||||
echo ' kernel share modes = no' >>$file && \
|
echo ' fruit:posix_rename = yes' >>$file && \
|
||||||
echo ' posix locking = no' >>$file && \
|
echo ' fruit:veto_appledouble = no' >>$file && \
|
||||||
echo ' fruit:aapl = yes' >>$file && \
|
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
|
||||||
echo ' fruit:advertise_fullsync = true' >>$file && \
|
echo ' fruit:delete_empty_adfiles = yes' >>$file && \
|
||||||
echo ' fruit:time machine = yes' >>$file && \
|
echo ' fruit:time machine = yes' >>$file && \
|
||||||
echo ' smb2 leases = yes' >>$file && \
|
|
||||||
echo ' aio read size = 0' >>$file && \
|
|
||||||
echo ' aio write size = 0' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo ' disable spoolss = yes' >>$file && \
|
echo ' disable spoolss = yes' >>$file && \
|
||||||
echo ' socket options = TCP_NODELAY' >>$file && \
|
echo ' socket options = TCP_NODELAY' >>$file && \
|
||||||
echo ' strict locking = no' >>$file && \
|
echo ' strict locking = no' >>$file && \
|
||||||
|
echo ' aio read size = 0' >>$file && \
|
||||||
|
echo ' aio write size = 0' >>$file && \
|
||||||
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
echo ' vfs objects = acl_xattr catia fruit recycle streams_xattr' \
|
||||||
>>$file && \
|
>>$file && \
|
||||||
echo ' recycle:keeptree = yes' >>$file && \
|
echo ' recycle:keeptree = yes' >>$file && \
|
||||||
@ -42,23 +44,20 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Security' >>$file && \
|
echo ' # Security' >>$file && \
|
||||||
echo ' client ipc max protocol = default' >>$file && \
|
echo ' client ipc max protocol = default' >>$file && \
|
||||||
|
echo ' client ipc min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client max protocol = default' >>$file && \
|
echo ' client max protocol = default' >>$file && \
|
||||||
echo ' server max protocol = SMB3' >>$file && \
|
echo ' server max protocol = default' >>$file && \
|
||||||
echo ' client ipc min protocol = default' >>$file && \
|
echo ' client min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client min protocol = CORE' >>$file && \
|
echo ' server min protocol = SMB2_10' >>$file && \
|
||||||
echo ' server min protocol = SMB2' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Time Machine' >>$file && \
|
echo ' # Time Machine' >>$file && \
|
||||||
echo ' durable handles = yes' >>$file && \
|
echo ' fruit:metadata = stream' >>$file && \
|
||||||
echo ' kernel oplocks = no' >>$file && \
|
echo ' fruit:model = MacSamba' >>$file && \
|
||||||
echo ' kernel share modes = no' >>$file && \
|
echo ' fruit:posix_rename = yes' >>$file && \
|
||||||
echo ' posix locking = no' >>$file && \
|
echo ' fruit:veto_appledouble = no' >>$file && \
|
||||||
echo ' fruit:aapl = yes' >>$file && \
|
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
|
||||||
echo ' fruit:advertise_fullsync = true' >>$file && \
|
echo ' fruit:delete_empty_adfiles = yes' >>$file && \
|
||||||
echo ' fruit:time machine = yes' >>$file && \
|
echo ' fruit:time machine = yes' >>$file && \
|
||||||
echo ' smb2 leases = yes' >>$file && \
|
|
||||||
echo ' aio read size = 0' >>$file && \
|
|
||||||
echo ' aio write size = 0' >>$file && \
|
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user