On Wed, Feb 11, 2015 at 11:50 AM, Tiit Kaeeli <[email protected]> wrote:
> mod_auth_cas log of the first try. Fails with
>
> MOD_AUTH_CAS: Error parsing XML content (Internal error)
>
>
>
>
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(2026): [client
> 192.168.8.218] Entering cas_authenticate()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(645): [client
> 192.168.8.218] Modified r->args (now '')
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1729): [client
> 192.168.8.218] entering getResponseFromServer()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(575): [client
> 192.168.8.218] CAS Service 'https%3a%2f%2fnagios.quretec.com%2fcas'
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1806): [client
> 192.168.8.218] Validation response: <?xml version="1.0"
> encoding="UTF-8"?><SOAP-ENV:Envelope
>
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";><SOAP-ENV:Body><saml1p:Response
> xmlns:saml1p="urn:oasis:names:tc:SAML:1.0:protocol" IssueInstant=
> "2015-02-11T16:40:02.454Z" MajorVersion="1" MinorVersion="1"
> Recipient="https://nagios.quretec.com/cas";
> ResponseID="_e4cafa37cb4c77fe55aae7c0d482e40e"><saml1
> p:Status><saml1p:StatusCode
> Value="saml1p:Success"/></saml1p:Status><saml1:Assertion
> xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="_2121b0
> 19c9fedf9b287bb811280e227c" IssueInstant="2015-02-11T16:40:02.454Z"
> Issuer="localhost" MajorVersion="1" MinorVersion="1"><saml1:Conditions
> NotBefore="2015-02
> -11T16:40:02.454Z"
> NotOnOrAfter="2015-02-11T16:40:32.454Z"><saml1:AudienceRestrictionCondition><saml1:Audience>https://nagios.quretec.com/cas</saml1:Audience
>>
>>
>> </saml1:AudienceRestrictionCondition></saml1:Conditions><saml1:AuthenticationStatement
>
> AuthenticationInstant="2015-02-11T15:07:56.192Z" AuthenticationMethod
> ="urn:oasis:names:tc:SAML:1.0:am:unspecified"><saml1:Subject><saml1:NameIdentifier>kaeeli</saml1:NameIdentifier><saml1:SubjectConfirmation><saml1:Confirmatio
> nMethod>urn:oasis:names:tc:SAML:1.0:cm:artifact</saml1:ConfirmationMethod></saml1:SubjectConfirmation></saml1:Subject></saml1:AuthenticationStatement></saml1
> :Assertion></saml1p:Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1434): [client
> 192.168.8.218] entering isValidCASTicket()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1440): [client
> 192.168.8.218] MOD_AUTH_CAS: response = <?xml version="1.0"
> encoding="UTF-8"?><SOAP-ENV:Enve
> lope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";><SOAP-ENV:Body><saml1p:Response
> xmlns:saml1p="urn:oasis:names:tc:SAML:1.0:protocol" IssueInst
> ant="2015-02-11T16:40:02.454Z" MajorVersion="1" MinorVersion="1"
> Recipient="https://nagios.quretec.com/cas";
> ResponseID="_e4cafa37cb4c77fe55aae7c0d482e40e"><s
> aml1p:Status><saml1p:StatusCode
> Value="saml1p:Success"/></saml1p:Status><saml1:Assertion
> xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="_21
> 21b019c9fedf9b287bb811280e227c" IssueInstant="2015-02-11T16:40:02.454Z"
> Issuer="localhost" MajorVersion="1" MinorVersion="1"><saml1:Conditions
> NotBefore="201
> 5-02-11T16:40:02.454Z"
> NotOnOrAfter="2015-02-11T16:40:32.454Z"><saml1:AudienceRestrictionCondition><saml1:Audience>https://nagios.quretec.com/cas</saml1:Audi
> ence></saml1:AudienceRestrictionCondition></saml1:Conditions><saml1:AuthenticationStatement
> AuthenticationInstant="2015-02-11T15:07:56.192Z" AuthenticationMe
> thod="urn:oasis:names:tc:SAML:1.0:am:unspecified"><saml1:Subject><saml1:NameIdentifier>kaeeli</saml1:NameIdentifier><saml1:SubjectConfirmation><saml1:Confirm
> ationMethod>urn:oasis:names:tc:SAML:1.0:cm:artifact</saml1:ConfirmationMethod></saml1:SubjectConfirmation></saml1:Subject></saml1:AuthenticationStatement></s
> aml1:Assertion></saml1p:Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1266): [client
> 192.168.8.218] entering createCASCookie()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1061): [client
> 192.168.8.218] entering CASCleanCache()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1117): [client
> 192.168.8.218] Beginning cache clean
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1140): [client
> 192.168.8.218] Processing cache file 'd76eaa64b28d6adf641e9d8fe59e39bb'
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(890): [client
> 192.168.8.218] entering readCASCacheFile()
> [Wed Feb 11 18:40:02 2015] [error] [client 192.168.8.218] MOD_AUTH_CAS:
> Error parsing XML content (Internal error)
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1156): [client
> 192.168.8.218] Removing corrupt cache entry
> 'd76eaa64b28d6adf641e9d8fe59e39bb'
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1406): [client
> 192.168.8.218] entering deleteCASCacheFile()
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(890): [client
> 192.168.8.218] entering readCASCacheFile()
> [Wed Feb 11 18:40:02 2015] [error] [client 192.168.8.218] MOD_AUTH_CAS:
> Error parsing XML content (Internal error)
> [Wed Feb 11 18:40:02 2015] [debug] mod_auth_cas.c(1178): [client
> 192.168.8.218] entering writeCASCacheEntry()

As Milt asked, what are your CAS and mod_auth_cas versions?

Also, what is in your cookie file d76eaa64b28d6adf641e9d8fe59e39bb? It
looks to me like there is some error parsing it.

-- 
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