Skip to content

Instantly share code, notes, and snippets.

@dcousineau
Created October 29, 2013 00:17
Show Gist options
  • Save dcousineau/7207141 to your computer and use it in GitHub Desktop.
Save dcousineau/7207141 to your computer and use it in GitHub Desktop.
Configuration files for my local ubuntu server for reference. Most tutorials I found were for netatalk 2.x, this is the configuration for 3.x. FILE LOCATIONS: /etc/afp.conf /etc/avahi/services/afpd.service This serves up the file systems via AFP. I am unsure how to do native time machine identification using smb3 at the moment, but to be honest …
;
; Netatalk 3.x configuration file
;
[Global]
; Global server settings
; [Homes]
; basedir regex = /home
[Home Share]
path = /afpdvol/share
vol size limit = 500000
time machine = no
valid users = @awesome ;Syntax for users belonging to `awesome` group
rwlist = @awesome
file perm = 0664
[Time Machine Backup]
path = /afpdvol/timemachine
vol size limit = 1000000
time machine = yes
valid users = dcousineau ;Specific user
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment