Woops responded to the wrong email. Ignore this :) Matt ________________________________________ From: Matthew Selwood [selw...@uvic.ca] Sent: November 2, 2010 7:49 AM To: cas-user@lists.jasig.org Subject: RE: [cas-user] CAS firsts steps...SSO does not work
Hello Joachim, I've attached the phpCAS log file. I have called the phpCAS::proxy() function with the session_start = false. I am being authenticated by the CAS server, as I can see that in cas.log. In cas.log, it shows me continually asking for a new ticket. I think because session data is not being saved by phpCAS and gets deleted by SquirrelMail, it's messing it up. Thanks for your time, Matt ________________________________________ From: Joachim Fritschi [frits...@hrz.tu-darmstadt.de] Sent: November 2, 2010 7:38 AM To: cas-user@lists.jasig.org Subject: Re: [cas-user] CAS firsts steps...SSO does not work Please enable the phpcas debug log. [1] This function writes a pretty good trace of the whole login procedure and will probably show what went wrong. Be sure that you have enabled cookies for the cas server and the client pages. If you hit the /login page directly on the cas server after a successfull login you should immediately get a "success" page. Also be sure that you enabled the sso checkbox in the service management gui. Best Regards, Joachim [1] https://wiki.jasig.org/display/CASC/phpCAS+troubleshooting Am 02.11.2010 15:11, schrieb Teox76: > > Hi all, > > Sorry if this message will sound stupid, but I'm a complete beginner with > CAS (an java in general)... > > By following those tutorials I have been successiful in deploying a simple > CAS istallation that reads username and password from a mysql database: > https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method > https://wiki.jasig.org/display/CASUM/Using+JDBC+for+Authentication > > Moreover the simple example from the php client ( > https://wiki.jasig.org/display/CASC/phpCAS+examples#phpCASexamples-AsimpleCASclient > from there ) runs without a problem and i can authenticate correctly. > > But now i'm a little lost in how to achieve SSO. > > I have copied the beforementioned simple example on a different machine on > my local network (with a different ip address), and when I visit one of the > two pages I'm always redirected to the login screen even if I'm already > logged on the other page. > > Obviously I'm missing something trivial, but I cannot see what. > > Many thanks for any advice on this ! -- Joachim Fritschi Hochschulrechenzentrum (HRZ) L1|01 Raum 248 Petersenstr. 30 64287 Darmstadt Tel. +49 6151 16-5638 Fax. +49 6151 16-3050 E-Mail: frits...@hrz.tu-darmstadt.de -- You are currently subscribed to cas-user@lists.jasig.org as: selw...@uvic.ca To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user