Srikar-

  A quick google on your error message makes me think this could be related to 
module load ordering.  Could you check your LoadModule statements to make sure 
mod_auth_cas comes after mod_auth?

  From what I can see, the text "configuration error:  couldn't check user" 
comes from mod_auth.

  A couple quick questions:
   What version of Apache are you using?
   What version of Windows?
   What version of Visual Studio?

  Note that although it works, you shouldn't have to modify mod_auth_cas.h.  
All of those parameters can be configured in the Apache conf.  Changing the .h 
may make it more difficult to upgrade as we roll out new versions.

  I should also note that I threw the README.win32 file together very quickly, 
so I'm pleased to hear that it actually worked for someone!  Please, if you see 
room for improvement in that doc, please send it along.  This win32 support is 
still very rough, so any advice or opinions is very welcome.

-Matt


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Srikar Kummamuri
Sent: Wed 2008-01-09 14:02
To: [email protected]
Subject: RE:mod_auth_cas-1.0.6 released
 
I followed all the steps given in the readme.win32 file and compiled the
DLL file successfully.  After placing the DLL file in the modules and
loading it in the httpd.conf file, I am getting the error saying that, 

 

configuration error:  couldn't check user.  No user file?: /secured/

 

 

My .H file has got following.

 

define CAS_DEFAULT_VERSION 2

#define CAS_DEFAULT_DEBUG FALSE

#define CAS_DEFAULT_SCOPE NULL

#define CAS_DEFAULT_RENEW NULL

#define CAS_DEFAULT_GATEWAY NULL

#define CAS_DEFAULT_VALIDATE_SERVER 1

#define CAS_DEFAULT_VALIDATE_DEPTH 9

#define CAS_DEFAULT_ALLOW_WILDCARD_CERT 0

#define CAS_DEFAULT_CA_PATH "C:/ssl/certs/"

#define CAS_DEFAULT_COOKIE_PATH "C:/ssl/cookie/"

#define CAS_DEFAULT_LOGIN_URL
"https://alx-dev-wrk04.wwre.org:8444/cas-server-webapp-3.1.1/login";

#define CAS_DEFAULT_VALIDATE_V1_URL
"https://alx-dev-wrk04.wwre.org:8444/cas-server-webapp-3.1.1/serviceVali
date"

#define CAS_DEFAULT_VALIDATE_V2_URL
"https://alx-dev-wrk04.wwre.org:8444/cas-server-webapp-3.1.1/serviceVali
date"

#define CAS_DEFAULT_VALIDATE_URL CAS_DEFAULT_VALIDATE_V2_URL

#define CAS_DEFAULT_PROXY_VALIDATE_URL
"https://alx-dev-wrk04.wwre.org:8444/cas-server-webapp-3.1.1/proxyValida
te"

#define CAS_DEFAULT_COOKIE_ENTROPY 32

#define CAS_DEFAULT_COOKIE_TIMEOUT 7200 /* 2 hours */

#define CAS_DEFAULT_COOKIE_IDLE_TIMEOUT 3600 /* 1 hour */

#define CAS_DEFAULT_CACHE_CLEAN_INTERVAL  1800 /* 30 minutes */

#define CAS_DEFAULT_COOKIE "MOD_AUTH_CAS"

#define CAS_DEFAULT_SCOOKIE "MOD_AUTH_CAS_S"

#define CAS_DEFAULT_GATEWAY_COOKIE "MOD_CAS_G"

#define CAS_DEFAULT_AUTHN_HEADER NULL

 

 

My  httpd.conf file has got

 

LoadModule auth_module modules/mod_auth_cas.dll

 

<Location /secured >

                        AuthType CAS

                        Require valid-user

</Location>

 

 

I thought DLL should redirect the used to given CAS URL from the above
/secured block.  Where did I go wrong???

 

 

..Srikar 

 

 


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

Reply via email to