Hi Luis,

you most likely have a session problem. It can be both server or client sided. You can see in the debug log that your client issued a session (an a cookie) (lines starting with 60EC) and on your next hit (all lines starting with 22A2) on the server it's gone.

This can be anything from a cookie disabled client, a broken session storage on the webserver, phpCAS fighting egroupware about session cookies etc.

Can you please try one of the examples we ship with phpCAS and check if they work on the same server. This would rule out server/client troubles.

Please also check the server logs for signs of problems.

Regards,

Joachim


On 04.01.2012 20:20, Luis Pérez wrote:
Hello,
I have problems with CAS.
I'm using phpCAS with egroupware and CAS and LDAP, seems that the CAS
accepts the user and then start again, it's like a loop.

¿Where can I read, or what can I do?

Thanks in advance.

I paste the error (phpCAS log):

4E27 .START phpCAS-1.2.2 ****************** [CAS.php:478]
4E27 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
4E27 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
4E27 .|    |    Starting a new session [Client.php:710]
4E27 .| <= ''
4E27 .<= ''
4E27 .=> phpCAS::setNoCasServerValidation() [login.php:86]
4E27 .<= ''
4E27 .=> phpCAS::forceAuthentication() [login.php:89]
4E27 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
4E27 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
4E27 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
4E27 .|    |    |    |    no user found [Client.php:1239]
4E27 .|    |    | <= false
4E27 .|    |    |    no ticket found [Client.php:1120]
4E27 .|    | <= false
4E27 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
4E27 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
4E27 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
4E27 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
4E27 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
4E27 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
4E27 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
4E27 .|    |    |    exit()
4E27 .|    |    |    -
4E27 .|    |    -
4E27 .|    -
60EC .START phpCAS-1.2.2 ****************** [CAS.php:478]
60EC .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
60EC .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
60EC .|    |    Starting a new session [Client.php:710]
60EC .|    |    ST or PT 'ST-267-PiLZ1scdGEhSqZAMIXpG-cas' found
[Client.php:796]
60EC .| <= ''
60EC .<= ''
60EC .=> phpCAS::setNoCasServerValidation() [login.php:86]
60EC .<= ''
60EC .=> phpCAS::forceAuthentication() [login.php:89]
60EC .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
60EC .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
60EC .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
60EC .|    |    |    |    no user found [Client.php:1239]
60EC .|    |    | <= false
60EC .|    |    |    PT `ST-267-PiLZ1scdGEhSqZAMIXpG-cas' is present
[Client.php:1093]
60EC .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
60EC .|    |    |    |     [Client.php:2584]
60EC .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
60EC .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
60EC .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
60EC .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
60EC .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
60EC .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
60EC .|    |    |    |    |    Response Body:
60EC .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
60EC .|    |    |    |    | <cas:authenticationSuccess>
60EC .|    |    |    |    | <cas:user>perez.luis</cas:user>
60EC .|    |    |    |    |
60EC .|    |    |    |    |
60EC .|    |    |    |    | </cas:authenticationSuccess>
60EC .|    |    |    |    | </cas:serviceResponse>
60EC .|    |    |    |    |
60EC .|    |    |    |    |     [CurlRequest.php:133]
60EC .|    |    |    | <= true
60EC .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
60EC .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
60EC .|    |    |    | <= ''
60EC .|    |    |    |    =>
CAS_Client::renameSession('ST-267-PiLZ1scdGEhSqZAMIXpG-cas')
[Client.php:2675]
60EC .|    |    |    |    |    Session ID: ST267PiLZ1scdGEhSqZAMIXpGcas
[Client.php:2977]
60EC .|    |    |    |    |    Restoring old session vars [Client.php:2980]
60EC .|    |    |    | <= ''
60EC .|    |    | <= true
60EC .|    |    |    PT `ST-267-PiLZ1scdGEhSqZAMIXpG-cas' was validated
[Client.php:1095]
60EC .|    |    |    => CAS_Client::getURL() [Client.php:1146]
60EC .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
60EC .|    |    |    => CAS_Client::getURL() [Client.php:1147]
60EC .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
60EC .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
60EC .|    |    |    exit()
60EC .|    |    |    -
60EC .|    |    -
60EC .|    -
22A2 .START phpCAS-1.2.2 ****************** [CAS.php:478]
22A2 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
22A2 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
22A2 .|    |    Starting a new session [Client.php:710]
22A2 .| <= ''
22A2 .<= ''
22A2 .=> phpCAS::setNoCasServerValidation() [login.php:86]
22A2 .<= ''
22A2 .=> phpCAS::forceAuthentication() [login.php:89]
22A2 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
22A2 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
22A2 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
22A2 .|    |    |    |    no user found [Client.php:1239]
22A2 .|    |    | <= false
22A2 .|    |    |    no ticket found [Client.php:1120]
22A2 .|    | <= false
22A2 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
22A2 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
22A2 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
22A2 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
22A2 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
22A2 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
22A2 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
22A2 .|    |    |    exit()
22A2 .|    |    |    -
22A2 .|    |    -
22A2 .|    -
81F3 .START phpCAS-1.2.2 ****************** [CAS.php:478]
81F3 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
81F3 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
81F3 .|    |    Starting a new session [Client.php:710]
81F3 .|    |    ST or PT 'ST-268-0YBCanzuRSbojtnsddDg-cas' found
[Client.php:796]
81F3 .| <= ''
81F3 .<= ''
81F3 .=> phpCAS::setNoCasServerValidation() [login.php:86]
81F3 .<= ''
81F3 .=> phpCAS::forceAuthentication() [login.php:89]
81F3 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
81F3 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
81F3 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
81F3 .|    |    |    |    no user found [Client.php:1239]
81F3 .|    |    | <= false
81F3 .|    |    |    PT `ST-268-0YBCanzuRSbojtnsddDg-cas' is present
[Client.php:1093]
81F3 .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
81F3 .|    |    |    |     [Client.php:2584]
81F3 .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
81F3 .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
81F3 .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
81F3 .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
81F3 .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
81F3 .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
81F3 .|    |    |    |    |    Response Body:
81F3 .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
81F3 .|    |    |    |    | <cas:authenticationSuccess>
81F3 .|    |    |    |    | <cas:user>perez.luis</cas:user>
81F3 .|    |    |    |    |
81F3 .|    |    |    |    |
81F3 .|    |    |    |    | </cas:authenticationSuccess>
81F3 .|    |    |    |    | </cas:serviceResponse>
81F3 .|    |    |    |    |
81F3 .|    |    |    |    |     [CurlRequest.php:133]
81F3 .|    |    |    | <= true
81F3 .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
81F3 .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
81F3 .|    |    |    | <= ''
81F3 .|    |    |    |    =>
CAS_Client::renameSession('ST-268-0YBCanzuRSbojtnsddDg-cas')
[Client.php:2675]
81F3 .|    |    |    |    |    Session ID: ST2680YBCanzuRSbojtnsddDgcas
[Client.php:2977]
81F3 .|    |    |    |    |    Restoring old session vars [Client.php:2980]
81F3 .|    |    |    | <= ''
81F3 .|    |    | <= true
81F3 .|    |    |    PT `ST-268-0YBCanzuRSbojtnsddDg-cas' was validated
[Client.php:1095]
81F3 .|    |    |    => CAS_Client::getURL() [Client.php:1146]
81F3 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
81F3 .|    |    |    => CAS_Client::getURL() [Client.php:1147]
81F3 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
81F3 .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
81F3 .|    |    |    exit()
81F3 .|    |    |    -
81F3 .|    |    -
81F3 .|    -
5491 .START phpCAS-1.2.2 ****************** [CAS.php:478]
5491 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
5491 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
5491 .|    |    Starting a new session [Client.php:710]
5491 .| <= ''
5491 .<= ''
5491 .=> phpCAS::setNoCasServerValidation() [login.php:86]
5491 .<= ''
5491 .=> phpCAS::forceAuthentication() [login.php:89]
5491 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
5491 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
5491 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
5491 .|    |    |    |    no user found [Client.php:1239]
5491 .|    |    | <= false
5491 .|    |    |    no ticket found [Client.php:1120]
5491 .|    | <= false
5491 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
5491 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
5491 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
5491 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
5491 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
5491 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
5491 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
5491 .|    |    |    exit()
5491 .|    |    |    -
5491 .|    |    -
5491 .|    -
A03D .START phpCAS-1.2.2 ****************** [CAS.php:478]
A03D .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
A03D .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
A03D .|    |    Starting a new session [Client.php:710]
A03D .|    |    ST or PT 'ST-269-a1ba1ebaPkzdBUpo3rpV-cas' found
[Client.php:796]
A03D .| <= ''
A03D .<= ''
A03D .=> phpCAS::setNoCasServerValidation() [login.php:86]
A03D .<= ''
A03D .=> phpCAS::forceAuthentication() [login.php:89]
A03D .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
A03D .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
A03D .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
A03D .|    |    |    |    no user found [Client.php:1239]
A03D .|    |    | <= false
A03D .|    |    |    PT `ST-269-a1ba1ebaPkzdBUpo3rpV-cas' is present
[Client.php:1093]
A03D .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
A03D .|    |    |    |     [Client.php:2584]
A03D .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
A03D .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
A03D .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
A03D .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
A03D .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
A03D .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
A03D .|    |    |    |    |    Response Body:
A03D .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
A03D .|    |    |    |    | <cas:authenticationSuccess>
A03D .|    |    |    |    | <cas:user>perez.luis</cas:user>
A03D .|    |    |    |    |
A03D .|    |    |    |    |
A03D .|    |    |    |    | </cas:authenticationSuccess>
A03D .|    |    |    |    | </cas:serviceResponse>
A03D .|    |    |    |    |
A03D .|    |    |    |    |     [CurlRequest.php:133]
A03D .|    |    |    | <= true
A03D .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
A03D .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
A03D .|    |    |    | <= ''
A03D .|    |    |    |    =>
CAS_Client::renameSession('ST-269-a1ba1ebaPkzdBUpo3rpV-cas')
[Client.php:2675]
A03D .|    |    |    |    |    Session ID: ST269a1ba1ebaPkzdBUpo3rpVcas
[Client.php:2977]
A03D .|    |    |    |    |    Restoring old session vars [Client.php:2980]
A03D .|    |    |    | <= ''
A03D .|    |    | <= true
A03D .|    |    |    PT `ST-269-a1ba1ebaPkzdBUpo3rpV-cas' was validated
[Client.php:1095]
A03D .|    |    |    => CAS_Client::getURL() [Client.php:1146]
A03D .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
A03D .|    |    |    => CAS_Client::getURL() [Client.php:1147]
A03D .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
A03D .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
A03D .|    |    |    exit()
A03D .|    |    |    -
A03D .|    |    -
A03D .|    -
F299 .START phpCAS-1.2.2 ****************** [CAS.php:478]
F299 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
F299 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
F299 .|    |    Starting a new session [Client.php:710]
F299 .| <= ''
F299 .<= ''
F299 .=> phpCAS::setNoCasServerValidation() [login.php:86]
F299 .<= ''
F299 .=> phpCAS::forceAuthentication() [login.php:89]
F299 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
F299 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
F299 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
F299 .|    |    |    |    no user found [Client.php:1239]
F299 .|    |    | <= false
F299 .|    |    |    no ticket found [Client.php:1120]
F299 .|    | <= false
F299 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
F299 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
F299 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
F299 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
F299 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
F299 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
F299 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
F299 .|    |    |    exit()
F299 .|    |    |    -
F299 .|    |    -
F299 .|    -
26E8 .START phpCAS-1.2.2 ****************** [CAS.php:478]
26E8 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
26E8 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
26E8 .|    |    Starting a new session [Client.php:710]
26E8 .|    |    ST or PT 'ST-272-mk61GEomkzZqBsHDeaam-cas' found
[Client.php:796]
26E8 .| <= ''
26E8 .<= ''
26E8 .=> phpCAS::setNoCasServerValidation() [login.php:86]
26E8 .<= ''
26E8 .=> phpCAS::forceAuthentication() [login.php:89]
26E8 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
26E8 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
26E8 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
26E8 .|    |    |    |    no user found [Client.php:1239]
26E8 .|    |    | <= false
26E8 .|    |    |    PT `ST-272-mk61GEomkzZqBsHDeaam-cas' is present
[Client.php:1093]
26E8 .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
26E8 .|    |    |    |     [Client.php:2584]
26E8 .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
26E8 .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
26E8 .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
26E8 .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
26E8 .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
26E8 .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
26E8 .|    |    |    |    |    Response Body:
26E8 .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
26E8 .|    |    |    |    | <cas:authenticationSuccess>
26E8 .|    |    |    |    | <cas:user>perez.luis</cas:user>
26E8 .|    |    |    |    |
26E8 .|    |    |    |    |
26E8 .|    |    |    |    | </cas:authenticationSuccess>
26E8 .|    |    |    |    | </cas:serviceResponse>
26E8 .|    |    |    |    |
26E8 .|    |    |    |    |     [CurlRequest.php:133]
26E8 .|    |    |    | <= true
26E8 .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
26E8 .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
26E8 .|    |    |    | <= ''
26E8 .|    |    |    |    =>
CAS_Client::renameSession('ST-272-mk61GEomkzZqBsHDeaam-cas')
[Client.php:2675]
26E8 .|    |    |    |    |    Session ID: ST272mk61GEomkzZqBsHDeaamcas
[Client.php:2977]
26E8 .|    |    |    |    |    Restoring old session vars [Client.php:2980]
26E8 .|    |    |    | <= ''
26E8 .|    |    | <= true
26E8 .|    |    |    PT `ST-272-mk61GEomkzZqBsHDeaam-cas' was validated
[Client.php:1095]
26E8 .|    |    |    => CAS_Client::getURL() [Client.php:1146]
26E8 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
26E8 .|    |    |    => CAS_Client::getURL() [Client.php:1147]
26E8 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
26E8 .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
26E8 .|    |    |    exit()
26E8 .|    |    |    -
26E8 .|    |    -
26E8 .|    -
159C .START phpCAS-1.2.2 ****************** [CAS.php:478]
159C .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
159C .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
159C .|    |    Starting a new session [Client.php:710]
159C .| <= ''
159C .<= ''
159C .=> phpCAS::setNoCasServerValidation() [login.php:86]
159C .<= ''
159C .=> phpCAS::forceAuthentication() [login.php:89]
159C .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
159C .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
159C .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
159C .|    |    |    |    no user found [Client.php:1239]
159C .|    |    | <= false
159C .|    |    |    no ticket found [Client.php:1120]
159C .|    | <= false
159C .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
159C .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
159C .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
159C .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
159C .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
159C .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
159C .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
159C .|    |    |    exit()
159C .|    |    |    -
159C .|    |    -
159C .|    -
95A7 .START phpCAS-1.2.2 ****************** [CAS.php:478]
95A7 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
95A7 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
95A7 .|    |    Starting a new session [Client.php:710]
95A7 .|    |    ST or PT 'ST-273-YHetMCMky24P0XGKWwND-cas' found
[Client.php:796]
95A7 .| <= ''
95A7 .<= ''
95A7 .=> phpCAS::setNoCasServerValidation() [login.php:86]
95A7 .<= ''
95A7 .=> phpCAS::forceAuthentication() [login.php:89]
95A7 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
95A7 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
95A7 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
95A7 .|    |    |    |    no user found [Client.php:1239]
95A7 .|    |    | <= false
95A7 .|    |    |    PT `ST-273-YHetMCMky24P0XGKWwND-cas' is present
[Client.php:1093]
95A7 .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
95A7 .|    |    |    |     [Client.php:2584]
95A7 .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
95A7 .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
95A7 .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
95A7 .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
95A7 .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
95A7 .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
95A7 .|    |    |    |    |    Response Body:
95A7 .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
95A7 .|    |    |    |    | <cas:authenticationSuccess>
95A7 .|    |    |    |    | <cas:user>perez.luis</cas:user>
95A7 .|    |    |    |    |
95A7 .|    |    |    |    |
95A7 .|    |    |    |    | </cas:authenticationSuccess>
95A7 .|    |    |    |    | </cas:serviceResponse>
95A7 .|    |    |    |    |
95A7 .|    |    |    |    |     [CurlRequest.php:133]
95A7 .|    |    |    | <= true
95A7 .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
95A7 .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
95A7 .|    |    |    | <= ''
95A7 .|    |    |    |    =>
CAS_Client::renameSession('ST-273-YHetMCMky24P0XGKWwND-cas')
[Client.php:2675]
95A7 .|    |    |    |    |    Session ID: ST273YHetMCMky24P0XGKWwNDcas
[Client.php:2977]
95A7 .|    |    |    |    |    Restoring old session vars [Client.php:2980]
95A7 .|    |    |    | <= ''
95A7 .|    |    | <= true
95A7 .|    |    |    PT `ST-273-YHetMCMky24P0XGKWwND-cas' was validated
[Client.php:1095]
95A7 .|    |    |    => CAS_Client::getURL() [Client.php:1146]
95A7 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
95A7 .|    |    |    => CAS_Client::getURL() [Client.php:1147]
95A7 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
95A7 .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
95A7 .|    |    |    exit()
95A7 .|    |    |    -
95A7 .|    |    -
95A7 .|    -
0BF1 .START phpCAS-1.2.2 ****************** [CAS.php:478]
0BF1 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
0BF1 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
0BF1 .|    |    Starting a new session [Client.php:710]
0BF1 .| <= ''
0BF1 .<= ''
0BF1 .=> phpCAS::setNoCasServerValidation() [login.php:86]
0BF1 .<= ''
0BF1 .=> phpCAS::forceAuthentication() [login.php:89]
0BF1 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
0BF1 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
0BF1 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
0BF1 .|    |    |    |    no user found [Client.php:1239]
0BF1 .|    |    | <= false
0BF1 .|    |    |    no ticket found [Client.php:1120]
0BF1 .|    | <= false
0BF1 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
0BF1 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
0BF1 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
0BF1 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
0BF1 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
0BF1 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
0BF1 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
0BF1 .|    |    |    exit()
0BF1 .|    |    |    -
0BF1 .|    |    -
0BF1 .|    -
0E52 .START phpCAS-1.2.2 ****************** [CAS.php:478]
0E52 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
0E52 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
0E52 .|    |    Starting a new session [Client.php:710]
0E52 .|    |    ST or PT 'ST-274-jEn6P7ZUi9RfcEAS6mEW-cas' found
[Client.php:796]
0E52 .| <= ''
0E52 .<= ''
0E52 .=> phpCAS::setNoCasServerValidation() [login.php:86]
0E52 .<= ''
0E52 .=> phpCAS::forceAuthentication() [login.php:89]
0E52 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
0E52 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
0E52 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
0E52 .|    |    |    |    no user found [Client.php:1239]
0E52 .|    |    | <= false
0E52 .|    |    |    PT `ST-274-jEn6P7ZUi9RfcEAS6mEW-cas' is present
[Client.php:1093]
0E52 .|    |    |    => CAS_Client::validatePT('', NULL, NULL)
[Client.php:1094]
0E52 .|    |    |    |     [Client.php:2584]
0E52 .|    |    |    |    => CAS_Client::getServerProxyValidateURL()
[Client.php:2586]
0E52 .|    |    |    |    |    => CAS_Client::getURL() [Client.php:475]
0E52 .|    |    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
0E52 .|    |    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
0E52 .|    |    |    | <=
'https://intranet.mycomany.es/cas/proxyValidate?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
0E52 .|    |    |    |    => CAS_CurlRequest::_sendRequest()
[AbstractRequest.php:191]
0E52 .|    |    |    |    |    Response Body:
0E52 .|    |    |    |    | <cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>
0E52 .|    |    |    |    | <cas:authenticationSuccess>
0E52 .|    |    |    |    | <cas:user>perez.luis</cas:user>
0E52 .|    |    |    |    |
0E52 .|    |    |    |    |
0E52 .|    |    |    |    | </cas:authenticationSuccess>
0E52 .|    |    |    |    | </cas:serviceResponse>
0E52 .|    |    |    |    |
0E52 .|    |    |    |    |     [CurlRequest.php:133]
0E52 .|    |    |    | <= true
0E52 .|    |    |    |    =>
CAS_Client::readExtraAttributesCas20(DOMNodeList) [Client.php:2646]
0E52 .|    |    |    |    |    Testing for rubycas style attributes
[Client.php:2741]
0E52 .|    |    |    | <= ''
0E52 .|    |    |    |    =>
CAS_Client::renameSession('ST-274-jEn6P7ZUi9RfcEAS6mEW-cas')
[Client.php:2675]
0E52 .|    |    |    |    |    Session ID: ST274jEn6P7ZUi9RfcEAS6mEWcas
[Client.php:2977]
0E52 .|    |    |    |    |    Restoring old session vars [Client.php:2980]
0E52 .|    |    |    | <= ''
0E52 .|    |    | <= true
0E52 .|    |    |    PT `ST-274-jEn6P7ZUi9RfcEAS6mEW-cas' was validated
[Client.php:1095]
0E52 .|    |    |    => CAS_Client::getURL() [Client.php:1146]
0E52 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
0E52 .|    |    |    => CAS_Client::getURL() [Client.php:1147]
0E52 .|    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
0E52 .|    |    |    Prepare redirect to :
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:1147]
0E52 .|    |    |    exit()
0E52 .|    |    |    -
0E52 .|    |    -
0E52 .|    -
E105 .START phpCAS-1.2.2 ****************** [CAS.php:478]
E105 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
E105 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
E105 .|    |    Starting a new session [Client.php:710]
E105 .| <= ''
E105 .<= ''
E105 .=> phpCAS::setNoCasServerValidation() [login.php:86]
E105 .<= ''
E105 .=> phpCAS::forceAuthentication() [login.php:89]
E105 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
E105 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
E105 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
E105 .|    |    |    |    no user found [Client.php:1239]
E105 .|    |    | <= false
E105 .|    |    |    no ticket found [Client.php:1120]
E105 .|    | <= false
E105 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
E105 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
E105 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
E105 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
E105 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
E105 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
E105 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
E105 .|    |    |    exit()
E105 .|    |    |    -
E105 .|    |    -
E105 .|    -
F684 .START phpCAS-1.2.2 ****************** [CAS.php:478]
F684 .=> phpCAS::client('2.0', 'intranet.mycomany.es
<http://intranet.mycomany.es>', 443, '/cas/') [login.php:70]
F684 .|    => CAS_Client::__construct('2.0', false,
'intranet.mycomany.es <http://intranet.mycomany.es>', 443, '/cas/',
true) [CAS.php:379]
F684 .| <= ''
F684 .<= ''
F684 .=> phpCAS::setNoCasServerValidation() [login.php:86]
F684 .<= ''
F684 .=> phpCAS::forceAuthentication() [login.php:89]
F684 .|    => CAS_Client::forceAuthentication() [CAS.php:1081]
F684 .|    |    => CAS_Client::isAuthenticated() [Client.php:962]
F684 .|    |    |    => CAS_Client::wasPreviouslyAuthenticated()
[Client.php:1058]
F684 .|    |    |    |    no user found [Client.php:1239]
F684 .|    |    | <= false
F684 .|    |    |    no ticket found [Client.php:1120]
F684 .|    | <= false
F684 .|    |    => CAS_Client::redirectToCas(false) [Client.php:971]
F684 .|    |    |    => CAS_Client::getServerLoginURL(false, false)
[Client.php:1255]
F684 .|    |    |    |    => CAS_Client::getURL() [Client.php:356]
F684 .|    |    |    |    |    Final URI:
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
[Client.php:2886]
F684 .|    |    |    | <=
'https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php'
F684 .|    |    | <=
'https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php'
F684 .|    |    |    Redirect to :
https://intranet.mycomany.es/cas/login?service=https%3A%2F%2Fintranet.mycomany.es%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Findex.php
[Client.php:1257]
F684 .|    |    |    exit()
F684 .|    |    |    -
F684 .|    |    -
F684 .|    -

CAS server log:
2012-01-04 20:05:22,141 INFO
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service
ticket [ST-298-1G9CcwBxcSY1kZ1gz2zj-cas] for service
[https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php]
for user [perez.luis]>
2012-01-04 20:05:22,147 INFO
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -
<Audit trail record BEGIN
=============================================================
WHO: perez.luis
WHAT: ST-298-1G9CcwBxcSY1kZ1gz2zj-cas for
https://intranet.mycomany.es/egroupware/login.php?phpgw_forward=%2Findex.php
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Wed Jan 04 20:05:22 CET 2012
CLIENT IP ADDRESS: 192.168.2.244
SERVER IP ADDRESS: 192.168.2.222
=============================================================

 >
2012-01-04 20:05:22,570 INFO
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] -
<Audit trail record BEGIN
=============================================================
WHO: perez.luis
WHAT: ST-298-1G9CcwBxcSY1kZ1gz2zj-cas
ACTION: SERVICE_TICKET_VALIDATED
APPLICATION: CAS
WHEN: Wed Jan 04 20:05:22 CET 2012
CLIENT IP ADDRESS: 192.168.2.244
SERVER IP ADDRESS: 192.168.2.222
=============================================================

 >
2012-01-04 20:06:57,135 INFO
[org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading
registered services.>
2012-01-04 20:06:57,136 INFO
[org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 4 services.>

--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to