CAS Authentication Explained
I have tried search the forums to find this info but it seems to be missing. I have installed koha through the koha on ubuntu - packages guide. The installed version is Koha 3.12.03.000 I setup the preferences for CAS authentication in koha administration pages. However two problems I encountered are: The service link that is sent the CAS server by the link on koha OPAC login page does not include the domain. https://{cas_server}:8443/cas/login?service=%2Fcgi-bin%2Fkoha%2Fopac-user.pl What do I have to setup in Patrons on koha for it to begin accepting logins from the CAS server? I added one patron to Koha then use the same person to login to cas and then have the CAS server redirect to koha. Koha then says "CAS login failed". Any help appreciated. -- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-Explained-tp5764435.htm... Sent from the Koha-general mailing list archive at Nabble.com.
*This is what is shown in /var/log/koha/library/opac-error.log*[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] Use of uninitialized value in concatenation (.) or string at[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] \t/usr/share/koha/lib/C4/Auth_with_cas.pm line 113 (#1)[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] (W uninitialized) An undefined value was used as if it were already[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] defined. It was interpreted as a "" or a 0, but maybe it was a mistake.[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] To suppress this warning assign a defined value to your variables.[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] [Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] To help you figure out what was undefined, perl will try to tell you the[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] name of the variable (if any) that was undefined. In some cases it cannot[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] do this, so it also tells you what operation you used the undefined value[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] in. Note, however, that perl optimizes your program and the operation[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] displayed in the warning may not necessarily appear literally in your[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] program. For example, "that $foo" is usually optimized into "that "[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] . $foo, and the warning will refer to the concatenation (.) operator,[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] even though there is no . in your program.[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] [Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] [Fri Aug 16 11:52:37 2013] opac-user.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth_with_cas.pm line 113.[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] Use of uninitialized value in concatenation (.) or string at[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] \t/usr/share/koha/lib/C4/Auth_with_cas.pm line 94 (#1)[Fri Aug 16 11:52:37 2013] [error] [client 127.0.0.1] [Fri Aug 16 11:52:37 2013] opac-user.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth_with_cas.pm line 94.*And this is the corresponding CAS log entry:*2013-08-16 11:52:44,327 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1-VT7CnsmeojJBWi2qcKTx-cas01.example.org] for service [http://localhost:9081/cgi-bin/koha/opac-user.pl] for user [060143]2013-08-16 11:52:44,328 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN=============================================================WHO: 060143WHAT: ST-1-VT7CnsmeojJBWi2qcKTx-cas01.example.org for http://localhost:9081/cgi-bin/koha/opac-user.plACTION: SERVICE_TICKET_CREATEDAPPLICATION: CASWHEN: Fri Aug 16 11:52:44 EDT 2013CLIENT IP ADDRESS: 192.168.137.15SERVER IP ADDRESS: 192.168.137.5============================================================= -- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-Explained-tp5764435p576... Sent from the Koha-general mailing list archive at Nabble.com.
participants (1)
-
Chandrashekar Singh