AFP with Open Directory

How to get FreeNAS 0.7 to authenticate via LDAP against Open Drirectory on OS X Server.

From a forum post on the FreeNAS forums.

UAMS compiling

mkdir -p /extra/src
cd /extra/src
tar zxf netatalk-2.0.5.tar.gz
cd netatalk-2.0.5

Configuration options:

./configure \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--sysconfdir=/var/etc \
--localstatedir=/var \
--enable-largefile \
--disable-tcp-wrappers \
--disable-cups \
--with-pam \

Compile it:

make install

The two files you want are:


If you are running from a hard drive install, you can simply copy and to /etc/uams. Then create symbolic links to them:

cd /etc/uams
ln -sf
ln -sf

However, if you are running an embedded install on a compact flash drive, that modification will be wiped out at reboot.The trick to getting the change to stick is to either update the disk image on the flash drive (pain in the butt), or use Command Scripts to copy the files and sym link them after bootup.

Recent Updates

  • 1 year 1 month ago
  • 1 year 1 month ago
  • 1 year 1 month ago
    php 8.x
  • 1 year 1 month ago
  • 1 year 1 month ago
    Drop Centos 5/6 stuff