open directory

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 \

LDAP Authentication

Apache can be configured to authenticate users against an LDAP database, such as Open Directory, part of Apple's OS X Server.

yum install openldap-devel

To install LDAP authentication support in Apache, it must be configured with:

--with-ldap --enable-ldap --enable-authnz-ldap

NOTE: --with-ldap appears to be broken in Apache 2.2.9.
Might also need:

Subscribe to RSS - open directory

Recent Updates

  • 1 year 11 months ago
  • 1 year 11 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
  • 1 year 12 months ago
    Drop Centos 5/6 stuff