no user found
Description
Environment
Activity

Joachim Fritschi March 27, 2012 at 5:10 PM
Closing all old issues.

Joachim Fritschi May 6, 2011 at 4:10 PM
Since there has been no more updates over the last month and i can't reproce this issue i'm closing the issue. We can always reopen if there is more info.

Joachim Fritschi April 4, 2011 at 7:04 PM
Depending on your cas server config you have to approve all the apps with a regexp of their service url. If your service is not registered with the cas server you get an error after authentication.
Right now i'm officially lost. Please go through the authentication process step by step and validate all redirects, parameters passed between the apps and also the server/client logs. This is the only way to find a problem like this. Your ddebug log does not show any phpCAS errors.

Pierre MAURICE April 4, 2011 at 3:18 PM
Yes, we have several apps working with the CAS server.
Our Apache server is configured as shown below :
mod_auth_cas :
CASloginurl https://websecu.irit.fr/cas/login
CASvalidateurl https://websecu.irit.fr/cas/serviceValidatemod_proxy_ajp :
ProxyPass /cas ajp://localhost:8009/cas
ProxyPassReverse /cas ajp://localhost:8009/cas
Sorry, but I don't understand "service url is not registered with the cas server"

Joachim Fritschi March 31, 2011 at 5:41 PM
Looks very strange. Could it be that your proxy (ajp) configuration is not configured properly? Are there any other working cas apps with this cas server right now?
Your logs are very strange since you don't even return with a ST from the CAS server. Please check with the CAS server log that your are actually given a ST and properly redirected back to phpcas. Is it possible that the service url is not registered with the cas server?
Details
Details
Assignee

Reporter

CA32 .START phpCAS-1.2.0 ****************** [CAS.php:471]
CA32 .=> phpCAS::client('2.0', 'websecu.irit.fr', 443, '') [example_simple.php:1
3]
CA32 .| => CASClient::CASClient('2.0', false, 'websecu.irit.fr', 443, '', tru
e) [CAS.php:374]
CA32 .| | Starting a new session [client.php:680]
CA32 .| <= ''
CA32 .<= ''
CA32 .=> phpCAS::setNoCasServerValidation() [example_simple.php:16]
CA32 .<= ''
CA32 .=> phpCAS::forceAuthentication() [example_simple.php:19]
CA32 .| => CASClient::forceAuthentication() [CAS.php:950]
CA32 .| | => CASClient::isAuthenticated() [client.php:952]
CA32 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:1047
]
CA32 .| | | | no user found [client.php:1216]
CA32 .| | | <= false
CA32 .| | | no ticket found [client.php:1109]
CA32 .| | <= false
CA32 .| | => CASClient::redirectToCas(false) [client.php:961]
CA32 .| | | => CASClient::getServerLoginURL(false, false) [client.php:1
232]
CA32 .| | | | => CASClient::getURL() [client.php:439]
CA32 .| | | | | Final URI: https://websecu.irit.fr/portail/CAS_se
rvices/CAS-1.2.0/docs/examples/example_simple.php [client.php:2805]
CA32 .| | | | <= 'https://websecu.irit.fr/portail/CAS_services/CAS-1
.2.0/docs/examples/example_simple.php'
CA32 .| | | <= 'https://websecu.irit.fr/login?service=https%3A%2F%2Fweb
secu.irit.fr%2Fportail%2FCAS_services%2FCAS-1.2.0%2Fdocs%2Fexamples%2Fexample_si
mple.php'
CA32 .| | | Redirect to : https://websecu.irit.fr/login?service=https%3
A%2F%2Fwebsecu.irit.fr%2Fportail%2FCAS_services%2FCAS-1.2.0%2Fdocs%2Fexamples%2F
example_simple.php [client.php:1234]
CA32 .| | | exit()
CA32 .| | | -
CA32 .| | -
CA32 .| -