From b967c84c6045e2aea330529b02923115a0ee0c31 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Wed, 15 Jun 2022 18:47:53 +0530 Subject: [PATCH] added configs --- conf/avahi-samba.service | 20 ++++++++++++++++++++ conf/smb.conf | 13 +++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 conf/avahi-samba.service create mode 100644 conf/smb.conf diff --git a/conf/avahi-samba.service b/conf/avahi-samba.service new file mode 100644 index 0000000..fcf5456 --- /dev/null +++ b/conf/avahi-samba.service @@ -0,0 +1,20 @@ + + + + %h + + _smb._tcp + 445 + + + _device-info._tcp + 9 + model=TimeCapsule8,119 + + + _adisk._tcp + 9 + dk0=adVN=__APP__,adVF=0x82 + sys=adVF=0x100 + + diff --git a/conf/smb.conf b/conf/smb.conf new file mode 100644 index 0000000..5dcfa74 --- /dev/null +++ b/conf/smb.conf @@ -0,0 +1,13 @@ +[__APP__] + comment = Time Machine + path = __DATADIR__ + valid users = __APP__ + browseable = yes + writeable = yes + create mask = 0600 + directory mask = 0700 + spotlight = yes + vfs objects = catia fruit streams_xattr + fruit:aapl = yes + fruit:time machine = yes + fruit:resource = xattr \ No newline at end of file