Phil Ames wrote:
> Hi Ryan,
> That error message is not one that is generated by mod_auth_cas,
> however it looks like mod_auth_cas may not be assigning the correct
> user id to the Apache REMOTE_USER variable (<null> does not look like
> the right user name to me, anyway).
>
Thanks Phil. It appears the error was apache's way of telling me I
forgot to LoadModule it. At least my mistake is preserved on the
internet as a warning to others... :)
With it loaded, I'm now getting an unresolved dependency error when
trying to start apache. I'm sure this is something HPUX specific. It
builds, but seems like it is looking for some library at runtime that it
can't find.
bash-3.00# /opt/apache2/bin/apachectl configtest
httpd: Syntax error on line 196 of /opt/apache2/conf/httpd.conf: Cannot
load /opt/apache2/modules/mod_auth_cas.so into server: Unresolved external
bash-3.00# /opt/apache2/bin/apxs -i -c mod_auth_cas.c
/opt/apache2/build/libtool --silent --mode=compile cc -prefer-pic
+Onoprocelim +DA1.1 -L/opt/apache2/src/openldap/lib -DHPUX11
-D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE +Onoprocelim +DA1.1
-Ae +Z -mt -I/opt/apache2/include -I/opt/apache2/include
-I/opt/apache2/include -I/opt/apache2/src/openldap/include/
-I/opt/gnu/include -c -o mod_auth_cas.lo mod_auth_cas.c && touch
mod_auth_cas.slo
/opt/apache2/build/libtool --silent --mode=link cc -o mod_auth_cas.la
-rpath /opt/apache2/modules -module -avoid-version mod_auth_cas.lo
/opt/apache2/build/instdso.sh SH_LIBTOOL='/opt/apache2/build/libtool'
mod_auth_cas.la /opt/apache2/modules
/opt/apache2/build/libtool --mode=install cp mod_auth_cas.la
/opt/apache2/modules/
cp .libs/mod_auth_cas.sl /opt/apache2/modules/mod_auth_cas.sl
chmod 555 /opt/apache2/modules/mod_auth_cas.sl
cp .libs/mod_auth_cas.lai /opt/apache2/modules/mod_auth_cas.la
cp .libs/mod_auth_cas.a /opt/apache2/modules/mod_auth_cas.a
ranlib /opt/apache2/modules/mod_auth_cas.a
chmod 644 /opt/apache2/modules/mod_auth_cas.a
Libraries have been installed in:
/opt/apache2/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `SHLIB_PATH' environment variable
during execution
- use the `-Wl,+b -Wl,LIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
chmod 755 /opt/apache2/modules/mod_auth_cas.so
Ryan
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-userbegin:vcard
fn:Ryan Fox
n:Fox;Ryan
org:The University of Findlay;Information Technology Services
adr:128 Old Main;;1000 Main St;Findlay;OH;45840;USA
email;internet:[email protected]
title:Network Systems Manager
tel;work:419-434-4348
x-mozilla-html:TRUE
version:2.1
end:vcard