Hi -

     So on Sparc Solaris 10, using a recent gcc, and installing into
apache httpd-2.2.8 I used the following to compile mod_auth_cas:

          apxs -i -c mod_auth_cas.c -ldl -lidn -lssl -lcrypto -lz

I set httpd logging to debug, and this is what I got. I am protecting a
PHP application. The app generated no output and PHP did not log.
Notice that the ticket is not recognized just before the process abends.

Garey Mills


 [Fri Aug 01 12:20:45 2008] [debug] mod_auth_cas.c(481): [client
69.105.112.4] CAS Service 'http%3a%2f%2flibrary11.berkeley.edu%3a7080%2f'
[Fri Aug 01 12:20:45 2008] [debug] mod_auth_cas.c(506): [client
69.105.112.4] Adding outgoing header: Location:
https://auth-test.berkeley.edu/cas/?service=http%3a%2f%2flibrary11.berkeley.edu%3a7080%2f
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(550): [client
69.105.112.4] Modified r->args (old
'ticket=ST-1170-g9KcjVxE2Ufy7pRwQiEEL7gZpibcEg3eOpc-aws-p1', new '')
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(481): [client
69.105.112.4] CAS Service 'http%3a%2f%2flibrary11.berkeley.edu%3a7080%2f'
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1450): [client
69.105.112.4] Validation request: GET
/cas/serviceValidate?service=http%3a%2f%2flibrary11.berkeley.edu%3a7080%2f&ticket=ST-1170-g9KcjVxE2Ufy7pRwQiEEL7gZpibcEg3eOpc-aws-p1
HTTP/1.1\nHost: auth-test.berkeley.edu\nConnection: close\n\n
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1458): [client
69.105.112.4] Request successfully transmitted
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 196 bytes of response
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 175 bytes of response
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 0 bytes of response
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(1472): [client
69.105.112.4] Validation response: HTTP/1.1 200 OK\r\nDate: Fri, 01 Aug
2008 19:21:07 GMT\r\nContent-Type:
text/html;charset=ISO-8859-1\r\nContent-Language: en\r\nContent-Length:
175\r\nVary: User-Agent,Accept-Encoding\r\nConnection:
close\r\n\r\n<cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>\n\t<cas:authenticationSuccess>\n\t\t<cas:user>175219</cas:user>\n\n\n\t</cas:authenticationSuccess>\n</cas:serviceResponse>\n
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(481): [client
69.105.112.4] CAS Service
'http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico'
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(506): [client
69.105.112.4] Adding outgoing header: Location:
https://auth-test.berkeley.edu/cas/?service=http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico
[Fri Aug 01 12:21:07 2008] [notice] child pid 18797 exit signal Bus error
(10)
[Fri Aug 01 12:21:07 2008] [debug] mod_auth_cas.c(550): [client
69.105.112.4] Modified r->args (old
'ticket=ST-1171-YnSIcc7GaHiMe3CVVeDTerU4U0OV9h6ZuA9-aws-p1', new '')
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(481): [client
69.105.112.4] CAS Service
'http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico'
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1450): [client
69.105.112.4] Validation request: GET
/cas/serviceValidate?service=http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico&ticket=ST-1171-YnSIcc7GaHiMe3CVVeDTerU4U0OV9h6ZuA9-aws-p1
HTTP/1.1\nHost: auth-test.berkeley.edu\nConnection: close\n\n
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1458): [client
69.105.112.4] Request successfully transmitted
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 196 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 175 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 0 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1472): [client
69.105.112.4] Validation response: HTTP/1.1 200 OK\r\nDate: Fri, 01 Aug
2008 19:21:08 GMT\r\nContent-Type:
text/html;charset=ISO-8859-1\r\nContent-Language: en\r\nContent-Length:
175\r\nVary: User-Agent,Accept-Encoding\r\nConnection:
close\r\n\r\n<cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>\n\t<cas:authenticationSuccess>\n\t\t<cas:user>175219</cas:user>\n\n\n\t</cas:authenticationSuccess>\n</cas:serviceResponse>\n
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(550): [client
69.105.112.4] Modified r->args (old
'ticket=ST-1171-YnSIcc7GaHiMe3CVVeDTerU4U0OV9h6ZuA9-aws-p1', new '')
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(481): [client
69.105.112.4] CAS Service
'http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico'
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1450): [client
69.105.112.4] Validation request: GET
/cas/serviceValidate?service=http%3a%2f%2flibrary11.berkeley.edu%3a7080%2ffavicon.ico&ticket=ST-1171-YnSIcc7GaHiMe3CVVeDTerU4U0OV9h6ZuA9-aws-p1
HTTP/1.1\nHost: auth-test.berkeley.edu\nConnection: close\n\n
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1458): [client
69.105.112.4] Request successfully transmitted
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 197 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 252 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1466): [client
69.105.112.4] Received 0 bytes of response
[Fri Aug 01 12:21:08 2008] [debug] mod_auth_cas.c(1472): [client
69.105.112.4] Validation response: HTTP/1.1 200 OK\r\nDate: Fri, 01 Aug
2008 19:21:08 GMT\r\nContent-Type:
text/plain;charset=ISO-8859-1\r\nContent-Language: en\r\nContent-Length:
252\r\nVary: User-Agent,Accept-Encoding\r\nConnection:
close\r\n\r\n<cas:serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>\n\t<cas:authenticationFailure
code='INVALID_TICKET'>\n\t\tticket
&#039;ST-1171-YnSIcc7GaHiMe3CVVeDTerU4U0OV9h6ZuA9-aws-p1&#039; not
recognized\n\t</cas:authenticationFailure>\n</cas:serviceResponse>\n
[Fri Aug 01 12:21:08 2008] [notice] child pid 18794 exit signal Bus error
(10)
[Fri Aug 01 12:21:08 2008] [notice] child pid 18798 exit signal Bus error
(10)


On Thu, Jul 31, 2008 at 4:50 PM, Garey Mills <[EMAIL PROTECTED]>
wrote:



    -------- Original Message --------
    Subject:        Re: impasse in installing mod_auth_cas
    Date:   Thu, 31 Jul 2008 16:35:43 -0700 (PDT)
    From:   dale77 <[EMAIL PROTECTED]>
    Reply-To:       Yale CAS mailing list <[email protected]>
    To:     [email protected]
    References:
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>



    FYI, this is the command line we use to compile our customized
mod_auth_cas
    1.0.6. You won't need -lcurl at least because that is only required
our own
    customization.

    apxs -i -c mod_auth_cas.c -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto
-lcom_err
    -lresolv -ldl -lidn -lssl -lcrypto -lz

    As Phil suggested you should enable debug logging in Apache,
    /etc/httpd/conf/httpd.conf,
    LogLevel debug

    Then tail -F /var/log/httpd/ssl_error_log (or whereever the log file
is on
    solaris) to see info about what mod_auth_cas is up to.

    Dale


    gmills wrote:



            I continue to have problems with mod_auth_cas.



    --
    View this message in context:
http://www.nabble.com/impasse-in-installing-mod_auth_cas-tp18659589p18765693.html
    Sent from the CAS Users mailing list archive at Nabble.com.

    _______________________________________________
    Yale CAS mailing list
    [email protected]
    http://tp.its.yale.edu/mailman/listinfo/cas



_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to