Hi Marvin and hi all!
Ok - I managed to get the phpCAS logs to work. What happens here I think
is that the ticket is not valid - but I don't know why. In this scenario
I have a "setNoCasServerValidation". For the moment I think this is the
easiest scenario I can create.This is the log:
4306 .
Giuseppe Sollazzo wrote:
No matter if I have the setNoCasServerValidation directive or not
(getting the usual error "one of the methods... must be called") I
can't get anything into the logs. /tmp/phpCAS.log is empty (access
rights verified), and even trying passing a file name to
setDebug($
Hi Marvin,
thanks for your support!
Actually, I had already tried with the setDebug directive. I entered it
into auth.php at the following point (as shown on the examples)
$this->connectCAS();
// initialize phpCAS debug
phpCAS::setDebug();
// no SSL validation for
> - with the call, the browser seems to take the eternity to check it and
> either stays in "waiting for
> https://moodle.myserver.../devmoodle/login/index.php"; or - after over 4-5
> minutes - "CAS Authentication failed" (despite seeing from the logs that
>
> 2009-10-20 10:14:57,978 INFO
> [org.ja
Hi Marvin,
I gave a look at the phpCAS examples and it's funny.
The phpCAS methods have no explicit call of any of the certificate
dealing functions.
So I just added a
phpCAS::setNoCasServerValidation();
immediately before of the call to:
if (phpCAS::checkAuthentication()) {
$
> Or is it maybe a configuration issue? Do I have to activate the certificate
> check somewhere?
Yes. Hopefully someone with Moodle experience can chime in here -- I
didn't even realize Moodle used phpCAS. Once you find the right place
in Moodle to configure the phpCAS client,
http://www.ja-sig.
Ryan Fox wrote:
The user's interaction with the cas server was successful. The problem is between the phpCAS client and CAS, when phpCAS is trying to verify the service ticket the user presented.
Specifically, phpCAS wants you to either call phpCAS::setCasServerCert() to
give it a certifica
- "Giuseppe Sollazzo" wrote:
> Ok - as you said I verified I was running phpCAS 1.0.1. Changed it to
>
> phpCAS 1.0.0 and what I got is a new error:
>
>
> phpCAS error: phpCAS::checkAuthentication(): one of the methods
> phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or
> phpC
Ok - as you said I verified I was running phpCAS 1.0.1. Changed it to
phpCAS 1.0.0 and what I got is a new error:
phpCAS error: phpCAS::checkAuthentication(): one of the methods
phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or
phpCAS::setNoCasServerValidation() must be called. in
phpCAS downloads are in http://www.ja-sig.org/downloads/cas-clients/php/
You have a phpCAS configured in Moodle to CASifiy it, right?
So, you can try it with phpCAS 1.0.0 to check if your problem remains...
Giuseppe Sollazzo-2 wrote:
>
> Hi Diego,
> interesting question - I'm actually not sur
Hi Diego,
interesting question - I'm actually not sure as I think it came with
CAS? How can I check it?
My setup was:
1) install moodle
2) install tomcat
3) deploy the CAS webapp
Thanks,
Giuseppe
Diego Benedicto wrote:
Hi,
I had the same problem CASifying Wordpress and Dokuwiki with phpCAS
Hi,
I had the same problem CASifying Wordpress and Dokuwiki with phpCAS 1.0.1,
but using phpCAS 1.0.0 it works perfectly
Which phpCAS version are you using?
Giuseppe Sollazzo-2 wrote:
>
> Hi all,
> I'm still trying to deal with this issue: when I try to authenticate
> over CAS via moodle
12 matches
Mail list logo