Skip to content

Instantly share code, notes, and snippets.

@bradleythughes
Created March 16, 2015 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradleythughes/e417be54d0b2b53e7922 to your computer and use it in GitHub Desktop.
Save bradleythughes/e417be54d0b2b53e7922 to your computer and use it in GitHub Desktop.
$ cat /usr/local/etc/afp.conf
[Global]
mimic model = Xserve
uam list = uams_dhx2.so uams_guest.so
[Homes]
basedir regex = /usr/home
[NAS preset]
valid users = @nas
file perm = 0664
directory perm = 0775
umask = 0002
[guest preset]
file perm = 0664
directory perm = 0775
umask = 0002
[Backups]
path = /BACKUPS
valid users = @nas
time machine = yes
[Shared Files]
path = /NAS/sharedfiles
vol preset = NAS preset
[Guest Files]
path = /NAS/guestfiles
vol preset = guest preset
$ make -C /usr/ports/net/netatalk3 showconfig
===> The following configuration options are available for netatalk3-3.1.7_1,1:
ACL=off: Enable ACL support
DBUS=off: D-Bus IPC system support
KERBEROS=off: Kerberos support
KRB5=off: Enable Kerberos V UAM
LDAP=off: LDAP protocol support
MYSQL=off: Enable MySQL CNID backend support
PAM=on: Pluggable authentication module support
SENDFILE=on: Enable Sendfile support
TCPWRAP=off: Enable TCP Wrappers support
====> Options available for the radio ZEROCONF: you can only select none or one of them
AVAHI=off: Zeroconf support via Avahi
MDNSRESPONDER=on: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment