The Courier authentication library will serve our purpose by separating the user authentication from the OS X user administration into a standalone user administration based on a MySQL database. You can find the software and documentation from the Courier authentication library web-site. The version we used is version 0.58.
Compiling and installing is the same procedure as all the previous ones. Extract the source archive in a directory, open a Terminal session, change the directory to the one you extracted the archive in and type in the following commands as a normal user (please note that the configure command will run a long time):
CFLAGS="-arch i386" \ ./configure --with-authmysql \ --without-authpam \ --with-mysql-libs=/usr/local/mysql/lib/mysql \ --with-mysql-includes=/usr/local/mysql/include
CFLAGS="-arch ppc" \ ./configure --with-authmysql \ --without-authpam \ --with-mysql-libs=/usr/local/mysql/lib/mysql \ --with-mysql-includes=/usr/local/mysql/include
Issue the install command when the compilation has finished:
sudo make install
If you are building a fresh installation run the following command to create new configuration files. Do not run it if you are just upgrading to a new version.
sudo make install-configure