Hi everyone.
I'm still trying to get C.A.S. authentication working with SOGo, without
success. I'm running SOGo 1.3.5a on a CentOS 5.5 box, and I'm using
LemonLDAP::NG as a CAS server (the CAS server is working, I've tested
with other applications).
when I try to access SOGo login page, I'm redirected on my CAS login
page, the cas server is granting the ticket, but for some reason, sogo
doesn't recognize it, and ask for a new one, until the client browser
give up with a ERR_TOO_MANY_REDIRECTS error.
I attach the sogo and the cas server logs. Can anyone help me with
this ?
In my setup, the cas service URL is https://auth.domain.org/cas and SOGo
URL is sme8.domain.org/SOGo
In the sogo logs, I can see
Unknown WebClient: user-agent='libwww-perl/5.805'
This error is because my CAS server (LemonLDAP::NG) is written in perl,
so it uses this user-agent. Not sure if this error is fatale, or just a
warning.
Regards, Daniel
--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: [email protected]
Web : http://www.firewall-services.com
--
[email protected]
https://inverse.ca/sogo/lists
localhost - - [17/Mar/2011:12:45:01 GMT] "GET /SOGo HTTP/1.1" 302 0/0 0.002 - - 0
Mar 17 12:45:05 sogod [29369]: [WARN] <0x0xa653540[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:05 GMT] "GET /SOGo/so/?ticket=ST-cc91e93260537d03c4b7fe6546c8bd84 HTTP/1.1" 302 0/0 0.237 - - 612K
Mar 17 12:45:05 sogod [29369]: [WARN] <0x0xa653540[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:05 GMT] "GET /SOGo/so/?ticket=ST-ef46f0a99e926b2d27d160b4e1688c61 HTTP/1.1" 302 0/0 0.262 - - 612K
Mar 17 12:45:06 sogod [29369]: [WARN] <0x0xa3cbff0[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:06 GMT] "GET /SOGo/so/?ticket=ST-cfd93ede01d7d6252b381f1454fd60eb HTTP/1.1" 302 0/0 0.262 - - 608K
Mar 17 12:45:06 sogod [29369]: [WARN] <0x0xa656a30[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:06 GMT] "GET /SOGo/so/?ticket=ST-dbc96646963c280101f84d170961e3a2 HTTP/1.1" 302 0/0 0.267 - - 608K
Mar 17 12:45:07 sogod [29369]: [WARN] <0x0xa6f5d88[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:07 GMT] "GET /SOGo/so/?ticket=ST-3ba4329623103b648148765fa8ff42ec HTTP/1.1" 302 0/0 0.356 - - 604K
2011-03-17 12:45:07.107 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:07 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-3465a5efad3f9da7062133ee20868d02&pgtId=PGT-8384408625bb01425c099983ff1b3b97 HTTP/1.1" 200 0/0 0.001 - - 0
Mar 17 12:45:10 sogod [29369]: [WARN] <0x0xa6f5d88[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/so/?ticket=ST-f660f1bf275d13ddaa0e539b5f4237b0 HTTP/1.1" 302 0/0 3.100 - - 604K
2011-03-17 12:45:10.325 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-98822b1ba68a7cff813caf872c69c296&pgtId=PGT-d25dc6990ccb8b45e3d33886f5992163 HTTP/1.1" 200 0/0 0.003 - - 0
Mar 17 12:45:10 sogod [29369]: [WARN] <0x0xa6f5d88[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/so/?ticket=ST-f620f3c36e47ad312bd952a793af2f7d HTTP/1.1" 302 0/0 0.519 - - 612K
2011-03-17 12:45:10.928 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-c25d951376f36f864c1f509d45932065&pgtId=PGT-8f878fdf562ab60bf1640abe67d50075 HTTP/1.1" 200 0/0 0.001 - - 0
2011-03-17 12:45:10.930 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-b8c76827aaa88440329d3896965ce52f&pgtId=PGT-4e3332ef63cd7afd2bbef5c493c4d682 HTTP/1.1" 200 0/0 0.001 - - 0
2011-03-17 12:45:10.932 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:10 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-4bb43e409387a7355a6e2a085c5a574f&pgtId=PGT-83454fe3eb620a3ab759f03ab348276b HTTP/1.1" 200 0/0 0.002 - - 0
Mar 17 12:45:11 sogod [29369]: [WARN] <0x0xa6f5d88[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:11 GMT] "GET /SOGo/so/?ticket=ST-90cfc06e8f37267e0e4d904f3c9de0e0 HTTP/1.1" 302 0/0 0.715 - - 608K
2011-03-17 12:45:11.753 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:11 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-0f87a68693000fb82095cca5c06a8b93&pgtId=PGT-e050459a069356726664933d824623ff HTTP/1.1" 200 0/0 0.002 - - 0
2011-03-17 12:45:11.755 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:11 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-eb93e2ae480cae356d0451f6e74dc75a&pgtId=PGT-10682b67680c77bf7cef14f075d15798 HTTP/1.1" 200 0/0 0.002 - - 0
Mar 17 12:45:12 sogod [29369]: [WARN] <0x0xa6f5d88[SOGoCASSession]> failure to obtain a PGT from the C.A.S. service
localhost - - [17/Mar/2011:12:45:12 GMT] "GET /SOGo/so/?ticket=ST-78c30beeee555a624134235e6df18b1d HTTP/1.1" 302 0/0 0.251 - - 612K
2011-03-17 12:45:12.101 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:12 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-3c95b68db3738507ec47e3611ceda9da&pgtId=PGT-971bd3fec3735e4efaa12b3b82d8afd8 HTTP/1.1" 200 0/0 0.002 - - 0
2011-03-17 12:45:12.896 sogod[29369] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='libwww-perl/5.805'
localhost - - [17/Mar/2011:12:45:12 GMT] "GET /SOGo/casProxy?pgtIou=PGTIOU-162d88780b709795fc22b52cee7e25b7&pgtId=PGT-279a8628eb4bb525d9bb4847b6c69e65 HTTP/1.1" 200 0/0 0.003 - - 0
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: URL https://auth.domain.org/cas/serviceValidate detected as an CAS SERVICE VALIDATE URL
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Get service validate request with ticket ST-78c30beeee555a624134235e6df18b1d for service https://sme8.domain.org/SOGo/so/
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: SERVICE ticket session 78c30beeee555a624134235e6df18b1d found
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Submitted service https://sme8.domain.org/SOGo/so/ match initial servce
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Create a CAS proxy granting ticket for service https://sme8.domain.org/SOGo/so/
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: CAS proxy granting session 279a8628eb4bb525d9bb4847b6c69e65 created
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: CAS session 162d88780b709795fc22b52cee7e25b7 deleted
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Generate proxy granting ticket IOU PGTIOU-162d88780b709795fc22b52cee7e25b7
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Call URL https://sme8.domain.org/SOGo/casProxy?pgtIou=PGTIOU-162d88780b709795fc22b52cee7e25b7&pgtId=PGT-279a8628eb4bb525d9bb4847b6c69e65
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Proxy granting URL https://sme8.domain.org/SOGo/casProxy called with success
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Get username dani
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Return CAS service validate success with username dani
[Thu Mar 17 12:45:12 2011] [debug] CGI.pm(99): Lemonldap::NG::Portal::SharedConf: Add proxy granting ticket PGTIOU-3c95b68db3738507ec47e3611ceda9da in response