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
wget http://voxel.dl.sourceforge.net/project/netatalk/netatalk/2.0.5/netatalk-2.0.5.tar.gz
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.

http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
http://blog.case.edu/gps10/2005/02/23/apache2_ssl_ldap_authentication_howto
http://www.nies.ch/doc/apache-ldap-webdav.en.php
Prerequisites

yum install openldap-devel

Installation
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 12 months ago
  • 1 year 12 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
    10.6.7
  • 2 years 1 day ago
    Drop Centos 5/6 stuff