openbsd-ports/www/mod_auth_kerb/files/mod_auth_kerb-enable
alek fdd166745c Import mod_auth_kerb 5.0rc6
This is the Apache Kerberos authentication module. It
allows any Apache web-server to become a Kerberos client
for authentication requests.

From Chris Kuethe <ckuethe@ualberta.ca>
2005-11-03 16:23:13 +00:00

19 lines
419 B
Bash

#!/bin/sh
#
# $OpenBSD: mod_auth_kerb-enable,v 1.1.1.1 2005/11/03 16:23:13 alek Exp $
MODULE=!!PREFIX!!/lib/mod_auth_kerb.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_auth_krb module (${MODULE})"
exit 1
else
echo "Enabling Kerberos Authentication module..."
/usr/sbin/apxs -i -a -n auth_kerb ${MODULE}
fi