A – Is there a LDAP authentication module (mod_auth_ldap) for the version of Apache that comes built into MacOS Server 10.5?
(I'm pretty sure no, but maybe someone compiled one.)
B – If not, can it be compiled into MacOS' version of Apache?
(Man, that would be nice.)
3 – If I can't use the Apple version of Apache for this, what is the best way to get Apache LDAP authentication working on MacOS Server 10.5?
(Preferably one that works with MacOS Servers management software)
Best Answer
Good luck using apsx to build mod_authnz_ldap against Apple's httpd.
But you can build your own httpd with ldap without much effort.
Disable Apple's httpd in Server Admin and create your own launchd plist.
Edit your plist to point to your httpd (replace /usr/sbin/httpd with /usr/local/apache2/bin/httpd) and change the Label.
Update /usr/local/apache2/bin/apachectl to use launchd as per this patch:
No, you will not be able to use Apple Server Admin to configure and administer your httpd. But Server Admin cannot provide a GUI that encompasses all of httpd's configuration options anyway. Add /usr/local/apache2/bin to your PATH (or always specify full paths). Configure and test httpd, and load it via launchctl:
http://www.opensource.apple.com/ and http://www.macports.org/ are good sources for hints on how to compile open source software for OSX.