![]() |
![]() |
Installing mod_auth_kerbThis page describes installation of module version 5.0. Installation guide for the older module 4.x can be found here. Because of variety of krb5/krb4 implementations and apache platforms we do not provide binary distributions of the module. However, building the module from sources is easy and if you have any problems building the module feel free to contact the developers. Prerequisites
Building and installing the moduleUnpack the distribution tarball and run the configure script. The script looks for krb5 and krb4 libraries and headers and then for an Apache installation directory. You can use following flags to specify locations of these files:
./configure --with-krb5=/software/krb5-1.3.1 \
--with-krb4=no \
--with-apache=/software/apache-2.0.47
make
su
make install
After installing the module you have to adapt the apache configuration. See this page for detailed information on configuration. You can submit any comment, questions, bugs etc. via the project page.Other Compiling NotesLinking with SSL
Building Apache with mod_auth_kerbIf you want to build the module statically you have to specify a few variables: LIBS='-L/usr/kerberos/lib -lkrb5 -lcrypto -lcom_err -lresolv' \ CFLAGS=-DKRB5 \ INCLUDES=-I/usr/kerberos/include \ ./configure --add-module=src/modules/kerberos/mod_auth_kerb.c make DefinesThe following defines can be added to the CFLAGS line to add/alter functionality of the compiled module:
|