On Fri, Jan 23, 2015 at 5:38 AM, Tiit Kaeeli <[email protected]> wrote: > On Thu, 22 Jan 2015, David Hawes wrote: > >> On Thu, Jan 22, 2015 at 8:07 AM, Tiit Kaeeli <[email protected]> wrote: >>> >>> Hi, >>> >>> For LDAP based group authorization on Apache, I tried to enable SAML >>> support. >>> >>> http://permalink.gmane.org/gmane.comp.java.jasig.cas.user/26597 >>> notes, that >>> >>> mod_auth_cas 1.0.9.1 cannot parse the <saml1p:StatusCode >>> Value="saml1p:Success"/> part of this response. >>> >>> To get around this, either use git master or use the patch from >>> https://github.com/Jasig/mod_auth_cas/pull/46/files. >>> >>> Readme on git master (cloned 19.01.2015) states >>> >>> The following development libraries and utilities must be installed: >>> ... >>> * Apache Web Server - 2.2.3 >>> ... >>> >>> After compiling and loading to Apache, the following error is returned: >>> >>> apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax >>> error >>> on line 2 of /etc/apache2/mods-enabled/auth_cas.load: Cannot load >>> /opt/mod_auth_cas/mod_auth_cas.so into server: >>> /opt/mod_auth_cas/mod_auth_cas.so: undefined symbol: >>> ap_hook_check_access_ex >>> Action 'configtest' failed. >>> >>> >>> http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html >>> >>> New functions ap_hook_check_access_ex, ap_hook_check_access, >>> ap_hook_check_authn, ap_hook_check_authz which accept >>> AP_AUTH_INTERNAL_PER_* >>> flags >> >> >> Are you using git master, or did you patch? >> >> Can you post a diff of your mod_auth_cas.c with git master's? >> >> > > I used git master from 19.01.2015
What's the output of 'httpd -v'? If you want to test something, change mod_auth_cas.c:2648 to "#if 0" to force using ap_hook_check_user_id. Recompile and see if that works. -- 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
