Merci pour ta réponse rapide.
J’établie lbien la connexion entre CAS et egroupware avec le module php client mais une boucle de redirection se forme à chaque fois que j’essaie de me loguer.
Avez-vous une piste pour ce problème ?
Deuxièmement, existe t-il une méthode pour identifier directement un utilisateur lorsqu’il se logue à sa session Windows, sans passer par une première authentification web ?
logphp_cas.php :
5C6 .START ****************** [CAS.php:400]
05C6 .=> phpCAS::client(‘2.0’, ‘domaine.tlb’, 8443, ‘/cas’) [login.php:58]
05C6 .| => CASClient::CASClient(‘2.0’, false, ‘domaine.tlb’, 8443, ‘/cas’, true) [CAS.php:301]
05C6 .| <= ''
05C6 .<= ''
05C6 .=> phpCAS::setNoCasServerValidation() [login.php:74]
05C6 .<= ''
05C6 .=> phpCAS::forceAuthentication() [login.php:77]
05C6 .| => CASClient::forceAuthentication() [CAS.php:897]
05C6 .| | => CASClient::isAuthenticated() [client.php:653]
05C6 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758]
05C6 .| | | | no user found [client.php:862]
05C6 .| | | <= false
05C6 .| | | no ticket found [client.php:792]
05C6 .| | <= false
05C6 .| | => CASClient::redirectToCas(false) [client.php:662]
05C6 .| | | => CASClient::getServerLoginURL(false, false) [client.php:879]
05C6 .| | | | => CASClient::getURL() [client.php:331]
05C6 .| | | | <= 'http://domaine.tlb/egroupware1.6/login.php?cd=10&phpgw_forward=%2Findex.php’
05C6 .| | | <= 'https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php’
05C6 .| | | Redirect to : https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php
05C6 .| | | exit()
05C6 .| | | -
05C6 .| | -
05C6 .| -
8038 .START ****************** [CAS.php:400]
8038 .=> phpCAS::client(‘2.0’, ‘domaine.tlb’, 8443, ‘/cas’) [login.php:58]
8038 .| => CASClient::CASClient(‘2.0’, false, ‘domaine.tlb’, 8443, ‘/cas’, true) [CAS.php:301]
8038 .| | ST or PT ‘ST-126-FvfMFZg77mVlzfBDZNbZ-cas’ found [client.php:561]
8038 .| <= ''
8038 .<= ''
8038 .=> phpCAS::setNoCasServerValidation() [login.php:74]
8038 .<= ‘‘
8038 .=> phpCAS::forceAuthentication() [login.php:77]
8038 .| => CASClient::forceAuthentication() [CAS.php:897]
8038 .| | => CASClient::isAuthenticated() [client.php:653]
8038 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758]
8038 .| | | | no user found [client.php:862]
8038 .| | | <= false
8038 .| | | PT ST-126-FvfMFZg77mVlzfBDZNbZ-cas' is present [client.php:779] 8038 .| | | => CASClient::validatePT('', NULL, NULL) [client.php:780] 8038 .| | | | => CASClient::getURL() [client.php:396] 8038 .| | | | <= 'http://domaine.tlb/egroupware1.6/login.php?cd=10&phpgw_forward=%2Findex.php' 8038 .| | | | => CASClient::readURL('https://domaine.tlb:8443/cas/proxyValidate?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%252Findex.php&ticket=ST-126-FvfMFZg77mVlzfBDZNbZ-cas', '', NULL, NULL, NULL) [client.php:1945] 8038 .| | | | <= true 8038 .| | | <= true 8038 .| | | PTST-126-FvfMFZg77mVlzfBDZNbZ-cas’ was validated [client.php:781]
8038 .| | <= true
8038 .| | no need to authenticate [client.php:655]
8038 .| <= true
8038 .| no need to authenticate (user julien' is already authenticated) [CAS.php:911] 8038 .<= '' 8038 .=> CASClient::retrievePT('imap://127.0.0.1', NULL, NULL) [CAS.php:1167] 8038 .| => CASClient::readURL('https://domaine.tlb:8443/cas/proxy?targetService=imap%3A%2F%2F127.0.0.1&pgt=', '', NULL, NULL, '') [client.php:1564] 8038 .| <= true 8038 .| node_name() failed [client.php:1595] 8038 .<= false 8038 .=> phpCAS::checkAuthentication() [class.auth_cas.inc.php:49] 8038 .| => CASClient::checkAuthentication() [CAS.php:870] 8038 .| | => CASClient::isAuthenticated() [client.php:699] 8038 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758] 8038 .| | | | user =julien’ [client.php:859]
8038 .| | | <= true
8038 .| | | user was already authenticated, no need to look for tickets [client.php:761]
8038 .| | <= true
8038 .| | user is authenticated [client.php:700]
8038 .| <= true
8038 .<= true
13A3 .START ****************** [CAS.php:400]
13A3 .=> phpCAS::client(‘2.0’, ‘domaine.tlb’, 8443, ‘/cas’) [login.php:58]
13A3 .| => CASClient::CASClient(‘2.0’, false, ‘domaine.tlb’, 8443, ‘/cas’, true) [CAS.php:301]
13A3 .| <= ''
13A3 .<= ''
13A3 .=> phpCAS::setNoCasServerValidation() [login.php:74]
13A3 .<= ''
13A3 .=> phpCAS::forceAuthentication() [login.php:77]
13A3 .| => CASClient::forceAuthentication() [CAS.php:897]
13A3 .| | => CASClient::isAuthenticated() [client.php:653]
13A3 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758]
13A3 .| | | | no user found [client.php:862]
13A3 .| | | <= false
13A3 .| | | no ticket found [client.php:792]
13A3 .| | <= false
13A3 .| | => CASClient::redirectToCas(false) [client.php:662]
13A3 .| | | => CASClient::getServerLoginURL(false, false) [client.php:879]
13A3 .| | | | => CASClient::getURL() [client.php:331]
13A3 .| | | | <= 'http://domaine.tlb/egroupware1.6/login.php?cd=10&phpgw_forward=%2Findex.php’
13A3 .| | | <= 'https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php’
13A3 .| | | Redirect to : https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php
13A3 .| | | exit()
13A3 .| | | -
13A3 .| | -
13A3 .| -
BE00 .START ****************** [CAS.php:400]
BE00 .=> phpCAS::client(‘2.0’, ‘domaine.tlb’, 8443, ‘/cas’) [login.php:58]
BE00 .| => CASClient::CASClient(‘2.0’, false, ‘domaine.tlb’, 8443, ‘/cas’, true) [CAS.php:301]
BE00 .| | ST or PT ‘ST-127-0BM3TAXZcWWbUExUzD6s-cas’ found [client.php:561]
BE00 .| <= ''
BE00 .<= ''
BE00 .=> phpCAS::setNoCasServerValidation() [login.php:74]
BE00 .<= ‘‘
BE00 .=> phpCAS::forceAuthentication() [login.php:77]
BE00 .| => CASClient::forceAuthentication() [CAS.php:897]
BE00 .| | => CASClient::isAuthenticated() [client.php:653]
BE00 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758]
BE00 .| | | | no user found [client.php:862]
BE00 .| | | <= false
BE00 .| | | PT ST-127-0BM3TAXZcWWbUExUzD6s-cas' is present [client.php:779] BE00 .| | | => CASClient::validatePT('', NULL, NULL) [client.php:780] BE00 .| | | | => CASClient::getURL() [client.php:396] BE00 .| | | | <= 'http://domaine.tlb/egroupware1.6/login.php?cd=10&phpgw_forward=%2Findex.php' BE00 .| | | | => CASClient::readURL('https://domaine.tlb:8443/cas/proxyValidate?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%252Findex.php&ticket=ST-127-0BM3TAXZcWWbUExUzD6s-cas', '', NULL, NULL, NULL) [client.php:1945] BE00 .| | | | <= true BE00 .| | | <= true BE00 .| | | PTST-127-0BM3TAXZcWWbUExUzD6s-cas’ was validated [client.php:781]
BE00 .| | <= true
BE00 .| | no need to authenticate [client.php:655]
BE00 .| <= true
BE00 .| no need to authenticate (user julien' is already authenticated) [CAS.php:911] BE00 .<= '' BE00 .=> CASClient::retrievePT('imap://127.0.0.1', NULL, NULL) [CAS.php:1167] BE00 .| => CASClient::readURL('https://domaine.tlb:8443/cas/proxy?targetService=imap%3A%2F%2F127.0.0.1&pgt=', '', NULL, NULL, '') [client.php:1564] BE00 .| <= true BE00 .| node_name() failed [client.php:1595] BE00 .<= false BE00 .=> phpCAS::checkAuthentication() [class.auth_cas.inc.php:49] BE00 .| => CASClient::checkAuthentication() [CAS.php:870] BE00 .| | => CASClient::isAuthenticated() [client.php:699] BE00 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758] BE00 .| | | | user =julien’ [client.php:859]
BE00 .| | | <= true
BE00 .| | | user was already authenticated, no need to look for tickets [client.php:761]
BE00 .| | <= true
BE00 .| | user is authenticated [client.php:700]
BE00 .| <= true
BE00 .<= true
B1BA .START ****************** [CAS.php:400]
B1BA .=> phpCAS::client(‘2.0’, ‘domaine.tlb’, 8443, ‘/cas’) [login.php:58]
B1BA .| => CASClient::CASClient(‘2.0’, false, ‘domaine.tlb’, 8443, ‘/cas’, true) [CAS.php:301]
B1BA .| <= ''
B1BA .<= ''
B1BA .=> phpCAS::setNoCasServerValidation() [login.php:74]
B1BA .<= ''
B1BA .=> phpCAS::forceAuthentication() [login.php:77]
B1BA .| => CASClient::forceAuthentication() [CAS.php:897]
B1BA .| | => CASClient::isAuthenticated() [client.php:653]
B1BA .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:758]
B1BA .| | | | no user found [client.php:862]
B1BA .| | | <= false
B1BA .| | | no ticket found [client.php:792]
B1BA .| | <= false
B1BA .| | => CASClient::redirectToCas(false) [client.php:662]
B1BA .| | | => CASClient::getServerLoginURL(false, false) [client.php:879]
B1BA .| | | | => CASClient::getURL() [client.php:331]
B1BA .| | | | <= 'http://domaine.tlb/egroupware1.6/login.php?cd=10&phpgw_forward=%2Findex.php’
B1BA .| | | <= 'https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php’
B1BA .| | | Redirect to : https://domaine.tlb:8443/cas/login?service=http%3A%2F%2Fdomaine.tlb%2Fegroupware1.6%2Flogin.php%3Fcd%3D10%26phpgw_forward%3D%2Findex.php
B1BA .| | | exit()
B1BA .| | | -
B1BA .| |