[Koha] CAS Authentication Explained
Chandrashekar Singh
chandrashekar1990 at yahoo.com
Sat Aug 17 04:47:28 NZST 2013
*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-tp5764435p5764639.html
Sent from the Koha-general mailing list archive at Nabble.com.
More information about the Koha
mailing list