Dockerfile* merge suggested changes for timemachine from samba wiki

This commit is contained in:
David Personette 2019-11-16 06:36:47 -05:00
parent a3308732d3
commit 4183cdca14
3 changed files with 36 additions and 39 deletions

View File

@ -32,6 +32,8 @@ RUN apk --no-cache --no-progress upgrade && \
echo ' disable spoolss = yes' >>$file && \
echo ' socket options = TCP_NODELAY' >>$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' \
>>$file && \
echo ' recycle:keeptree = yes' >>$file && \
@ -41,23 +43,20 @@ RUN apk --no-cache --no-progress upgrade && \
echo '' >>$file && \
echo ' # Security' >>$file && \
echo ' client ipc max protocol = default' >>$file && \
echo ' client ipc min protocol = SMB2_10' >>$file && \
echo ' client max protocol = default' >>$file && \
echo ' server max protocol = SMB3' >>$file && \
echo ' client ipc min protocol = default' >>$file && \
echo ' client min protocol = CORE' >>$file && \
echo ' server min protocol = SMB2' >>$file && \
echo ' server max protocol = default' >>$file && \
echo ' client min protocol = SMB2_10' >>$file && \
echo ' server min protocol = SMB2_10' >>$file && \
echo '' >>$file && \
echo ' # Time Machine' >>$file && \
echo ' durable handles = yes' >>$file && \
echo ' kernel oplocks = no' >>$file && \
echo ' kernel share modes = no' >>$file && \
echo ' posix locking = no' >>$file && \
echo ' fruit:aapl = yes' >>$file && \
echo ' fruit:advertise_fullsync = true' >>$file && \
echo ' fruit:metadata = stream' >>$file && \
echo ' fruit:model = MacSamba' >>$file && \
echo ' fruit:posix_rename = yes' >>$file && \
echo ' fruit:veto_appledouble = no' >>$file && \
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
echo ' fruit:delete_empty_adfiles = 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 && \
rm -rf /tmp/*

View File

@ -33,6 +33,8 @@ RUN apk --no-cache --no-progress upgrade && \
echo ' disable spoolss = yes' >>$file && \
echo ' socket options = TCP_NODELAY' >>$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' \
>>$file && \
echo ' recycle:keeptree = yes' >>$file && \
@ -42,23 +44,20 @@ RUN apk --no-cache --no-progress upgrade && \
echo '' >>$file && \
echo ' # Security' >>$file && \
echo ' client ipc max protocol = default' >>$file && \
echo ' client ipc min protocol = SMB2_10' >>$file && \
echo ' client max protocol = default' >>$file && \
echo ' server max protocol = SMB3' >>$file && \
echo ' client ipc min protocol = default' >>$file && \
echo ' client min protocol = CORE' >>$file && \
echo ' server min protocol = SMB2' >>$file && \
echo ' server max protocol = default' >>$file && \
echo ' client min protocol = SMB2_10' >>$file && \
echo ' server min protocol = SMB2_10' >>$file && \
echo '' >>$file && \
echo ' # Time Machine' >>$file && \
echo ' durable handles = yes' >>$file && \
echo ' kernel oplocks = no' >>$file && \
echo ' kernel share modes = no' >>$file && \
echo ' posix locking = no' >>$file && \
echo ' fruit:aapl = yes' >>$file && \
echo ' fruit:advertise_fullsync = true' >>$file && \
echo ' fruit:metadata = stream' >>$file && \
echo ' fruit:model = MacSamba' >>$file && \
echo ' fruit:posix_rename = yes' >>$file && \
echo ' fruit:veto_appledouble = no' >>$file && \
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
echo ' fruit:delete_empty_adfiles = 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 && \
rm -rf /tmp/*

View File

@ -33,6 +33,8 @@ RUN apk --no-cache --no-progress upgrade && \
echo ' disable spoolss = yes' >>$file && \
echo ' socket options = TCP_NODELAY' >>$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' \
>>$file && \
echo ' recycle:keeptree = yes' >>$file && \
@ -42,23 +44,20 @@ RUN apk --no-cache --no-progress upgrade && \
echo '' >>$file && \
echo ' # Security' >>$file && \
echo ' client ipc max protocol = default' >>$file && \
echo ' client ipc min protocol = SMB2_10' >>$file && \
echo ' client max protocol = default' >>$file && \
echo ' server max protocol = SMB3' >>$file && \
echo ' client ipc min protocol = default' >>$file && \
echo ' client min protocol = CORE' >>$file && \
echo ' server min protocol = SMB2' >>$file && \
echo ' server max protocol = default' >>$file && \
echo ' client min protocol = SMB2_10' >>$file && \
echo ' server min protocol = SMB2_10' >>$file && \
echo '' >>$file && \
echo ' # Time Machine' >>$file && \
echo ' durable handles = yes' >>$file && \
echo ' kernel oplocks = no' >>$file && \
echo ' kernel share modes = no' >>$file && \
echo ' posix locking = no' >>$file && \
echo ' fruit:aapl = yes' >>$file && \
echo ' fruit:advertise_fullsync = true' >>$file && \
echo ' fruit:metadata = stream' >>$file && \
echo ' fruit:model = MacSamba' >>$file && \
echo ' fruit:posix_rename = yes' >>$file && \
echo ' fruit:veto_appledouble = no' >>$file && \
echo ' fruit:wipe_intentionally_left_blank_rfork = yes' >>$file && \
echo ' fruit:delete_empty_adfiles = 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 && \
rm -rf /tmp/*