On Wed, 22 Feb 2012, Matt Smith wrote: > Milt, > Could you send the config.log that should have been generated from > the "./configure" process, and the output of the "make" and "make > install" processes? > > By "yet to be released", do you mean you checked out the "master" > branch at GitHub? Or did you retrieve the code elsewhere? > > -Matt
Matt, Thanks for the reply. I actually got past this issue. I think the instructions in the README are unclear. In there it states: ==================================================================== COMPILE INSTRUCTIONS -------------------------------------------------------------------- Use the APache eXtenSion tool (APXS) to compile and install this object as a dynamically shared object (DSO), by either: apxs -i -lssl -lcurl -c mod_auth_cas.c or apxs2 -i -lssl -lcurl -c mod_auth_cas.c depending on your Linux distribution. This release of mod_auth_cas includes support for autoconf. Note that you must use GNU Make - other Make implementations may work, but are untested and not recommended. Use the standard commands below to compile and install: ./configure; make; make install configure can take an optional --with-apxs=/path/to/apxs argument to specify the path to your APXS binary. ==================================================================== It's not clear what the relationship is between the apxs/apxs2 calls and the configure/make calls; I gather they are two alternative ways of building the module. Anyway, I was able to build the module by using a slight variation on the apxs2 call (cd'ing to the src subdirectory beforehand): apxs2 -i -lssl -lcurl -c mod_auth_cas.c cas_saml_attr.c It also seems I would've been OK had I done the configure/make first. As to what code I'm using, I believe I did check out the master version of the code; that is, I did: git clone https://github.com/Jasig/mod_auth_cas So anyway, now I have a test client using mod_auth_cas that is getting the attributes specified on the server side. I'll play around with it some more to determine exactly how/what I want to do (for example, logouts didn't seem to be working, but I haven't looked at that in detail yet). I found some issues online describing code patches that implement authorization using attributes: https://issues.jasig.org/browse/MAS-60 https://issues.jasig.org/browse/MAS-37 I gather this code is not included in the master version, and would need to be patched in, correct? It looks interesting, but I'm not sure I need it, what's in the master version may be sufficient. Thanks. Milt Epstein > On Feb 21, 2012 5:29 PM, "Milt Epstein" <[email protected]> wrote: > > > Hi. We want to use CAS with LDAP, and get attributes. I've got a > > test CAS server set up, and I wanted to test things from the client > > side. So, based upon some messages I found on the web, I tried > > installing a yet to be released version of mod_auth_cas to test this > > out. I can build the module, but I can't restart Apache with the new > > module: > > > > > > /etc/init.d/apache2 start > > * Starting web server apache2 apache2: Syntax error on line 203 of > > /etc/apache2/apache2.conf: Syntax error on line 1 of > > /etc/apache2/mods-enabled/auth_cas.load: Cannot load > > /usr/lib/apache2/modules/mod_auth_cas.so into server: > > /usr/lib/apache2/modules/mod_auth_cas.so: undefined symbol: > > cas_attr_builder_add > > Action 'start' failed. > > The Apache error log may have more information. > > > > > > Any help appreciated to get past this. > > > > Thanks. > > > > Milt Epstein > > Applications Developer > > Graduate School of Library and Information Science (GSLIS) > > University of Illinois at Urbana-Champaign (UIUC) > > [email protected] > > > > -- > > 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-user > > > > -- > 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-user Milt Epstein Applications Developer Graduate School of Library and Information Science (GSLIS) University of Illinois at Urbana-Champaign (UIUC) [email protected] -- 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-user
