Hi! Recently, we decided to use Koha at my University and I'm trying to integrate our CAS auth server with Koha but I keep getting this error "Sorry, CAS login failed". CAS generates a valid ticket but Koha does not login. In Koha's intranet, casServerUrl is OK and I add "http://" at the beginning of OPACBaseURL. Also the user that I am trying to login exists in Koha database. I updated the version of Koha to 3.18 but the error persists. Do you know what could it be the problem? Regards, Leandro. -- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379.html Sent from the Koha-general mailing list archive at Nabble.com.
Hi, Set the DEBUG variable to 1 in C4/Auth_with_cas.pm, try to log in and look in the log files. You should see for what reason the login was rejected. Le 13/04/2015 21:28, leaspag a écrit :
Hi!
Recently, we decided to use Koha at my University and I'm trying to integrate our CAS auth server with Koha but I keep getting this error "Sorry, CAS login failed". CAS generates a valid ticket but Koha does not login.
In Koha's intranet, casServerUrl is OK and I add "http://" at the beginning of OPACBaseURL. Also the user that I am trying to login exists in Koha database.
I updated the version of Koha to 3.18 but the error persists.
Do you know what could it be the problem?
Regards, Leandro.
-- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Matthias! Thanks for your reply! I did what you tell me and I am getting this error in the log [error] opac-user.pl: checkpw_cas at /usr/share/koha/lib/C4/Auth_with_cas.pm line 91. [error] opac-user.pl: Got ticket : ST-239771-la1xduqMYwVLNDQNamBk-cas at/usr/share/koha/lib/C4/Auth_with_cas.pm line 98. [error] opac-user.pl: Problem when validating ticket : ST-239771-la1xduqMYwVLNDQNamBk-cas at /usr/share/koha/lib/C4/Auth_with_cas.pm line 128. [error] opac-user.pl: Authen::CAS::Client::Response::Error: HTTP request failed: 500: Can't connect to cas.ufasta.edu.ar:8443 at /usr/share/koha/lib/C4/Auth_with_cas.pm line 129. [error] opac-user.pl: $VAR1 = 'Can\\'t connect to cas.ufasta.edu.ar:8443 I believe the issue is that is doing an HTTP request when It should be an HTTPS request, even though casServerUrl is set with https. Do you know how to solve this issue? -- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379p5835578.html Sent from the Koha-general mailing list archive at Nabble.com.
Hi leaspag, I also need to authenticate KOHA with CAS but i'm having issues doing so. I see that you're trying to do the same thing, so if you succeeded could you post your authentication files, I would be very thankful. Kind regards -- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379p5841510.html Sent from the Koha-general mailing list archive at Nabble.com.
Hi guys, DEBUG shows this: [error] opac-user.pl: Authen::CAS::Client::Response::Error: HTTP request failed: 500: Can't connect to cas.ufasta.edu.ar:8443 Looks like a firewall issue if the address is good. -L El lunes, 25 de mayo de 2015, demha <hadzic_ahmed@hotmail.com> escribió:
Hi leaspag,
I also need to authenticate KOHA with CAS but i'm having issues doing so. I see that you're trying to do the same thing, so if you succeeded could you post your authentication files, I would be very thankful.
Kind regards
-- View this message in context: http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379p5841510.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz <javascript:;> https://lists.katipo.co.nz/mailman/listinfo/koha
-- *-- Larry Letelier N.* *F: **+56 2 3205 2737* *F: **+56 9 7589 6842*
You may also have problems with your Perl HTTPS setup; we've encountered problems with them before. Does lwp-request https://www.google.com/ work from your server? 2015-05-25 7:37 GMT-06:00 Larry Letelier <larry@opengeek.cl>:
Hi guys,
DEBUG shows this:
[error] opac-user.pl: Authen::CAS::Client::Response::Error: HTTP request failed: 500: Can't connect to cas.ufasta.edu.ar:8443
Looks like a firewall issue if the address is good.
-L
El lunes, 25 de mayo de 2015, demha <hadzic_ahmed@hotmail.com> escribió:
Hi leaspag,
I also need to authenticate KOHA with CAS but i'm having issues doing so. I see that you're trying to do the same thing, so if you succeeded could you post your authentication files, I would be very thankful.
Kind regards
-- View this message in context:
http://koha.1045719.n5.nabble.com/CAS-Authentication-tp5835379p5841510.html
Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz <javascript:;> https://lists.katipo.co.nz/mailman/listinfo/koha
-- *-- Larry Letelier N.* *F: **+56 2 3205 2737* *F: **+56 9 7589 6842* _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Jesse Weaver
participants (5)
-
demha -
Jesse -
Larry Letelier -
leaspag -
Matthias Meusburger