![]() Adding the time machine option to the share made it happy. I had to add the fruit:time machine = yes parameter in the share config, not global - I had it in global to start with, and Time Machine (High Sierra) was telling me that the share was unsupported for use with TM.I wasn't sure where the original is and if it has any side effects (like overwriting), so I ignored this part. You can specify the smbpasswd file in the. ![]() This local copy of Samba didn't pick up on whatever smbpasswd file I had before, so I had to re-add my user account with smbpasswd after getting it running.your sysconfdir in your example is /etc which I didn't notice - my configs are in /etc/samba as I am upgrading from the 16.04 4.3 debs.Systemctl enable smb.service systemctl start smb.service done To calculate the interger use MB * 1000000 (300GB in this example). plist file: cat /srv/backup/timemachine/$USERNAME/.plist Mkdir -m 700 /srv/backup/timemachine/$USERNAME chown $USERNAME /srv/backup/timemachine/$USERNAME Quotas usr/local/samba/bin/smbpasswd -a $USERNAME You will need to create the folders and the user: # Special configuration for Apple's Time Machineīackups will be stores under /srv/backup/timemachine/$USERNAME Socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=524288 SO_SNDBUF=524288 ![]() Sed -i 's/Type=notify/Type=simple/g' /lib/systemd/system/smb.serviceįixed some issues while starting the service. This will install samba to /usr/local/samba, puts configs under /etc/samba and installs the systemd services to /lib/systemd/system and it will use all your cpu cores for compiling. sysconfdir=/etc/samba -jobs=`nproc -all` configure -with-systemd -systemd-install-services -with-systemddir=/lib/systemd/system \ Python3-dnspython python-gpgme python3-gpgme python-markdown python3-markdown \ Python-all-dev python-crypto python-dbg python-dev python-dnspython \ Libpopt-dev libreadline-dev nettle-dev perl perl-modules pkg-config \ Libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl \ Libcap-dev libcups2-dev libgnutls28-dev libgpgme11-dev libjson-perl \ Libacl1-dev libaio-dev libarchive-dev libattr1-dev libblkid-dev libbsd-dev \ Samba 4.8 prerequisites apt -y install install acl attr autoconf bind9utils bison build-essential \ĭebhelper dnsutils docbook-xml docbook-xsl flex gdb libjansson-dev krb5-user \ There is the line dk0=adVN=TimeMachine Home,adVF=0x82 where TimeMachine Home is the name your mac will display ( ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |