Hi, I finally got it working, here is what I did:
1. Download and unzip the CAS-server-3.5.1 package on the machine(RHEL6 in my case). 2. Open CAS-server-3.5.1/cas-server-webapp/pom.xml, and add the following dependency within <dependencies> tag in your pom.xml file 3. Build your cas.war in the current directory using maven. The command you need is "mvn clean install". You need the Apache Maven software to be installed on your machine to complete this step. I use maven 3.0.5. After the command is successfully executed, you will see a new folder "target" generated with cas.war in there. 4. Cope cas.war into your tomcat_home/webapps directory, it will automatically deploy the project into cas folder for you. Now you should be able to access the CAS login page through http://yourdomain:8080/cas/login. Log in with whatever same value into both username and password of the login form to verify the deployment is all right. 5. Configure your deployerConfigContext.xml under tomcat_home/webapps/cas/WEB-INF/ according to the following tutorial: https://wiki.jasig.org/display/CASUM/LDAP - Comment out "SimpleTestUsernamePasswordAuthenticationHandler" bean and add "BindLdapAuthenticationHandler" bean into authenticationHandlers property - Add contextSource bean within <beans> tag Make sure you update the following values using the admin credentials so as to log into your LDAP server: <property name="userDn" value="your_manager_name"/> <property name="password" value="your_manager_password"/> 6. Restart tomcat and try to log in again with your LDAP credential. Let me know if you have more questions. From: lbeltramino [via Jasig] [mailto:[email protected]] Sent: Monday, June 17, 2013 9:25 AM To: Peng Zhang Subject: Re: CAS + LDAP initialisation error Hi... I'm having the same problem. Please, if you can solve this let me know how!!!!! ________________________________ If you reply to this email, your message will be added to the discussion below: http://jasig.275507.n4.nabble.com/CAS-LDAP-initialisation-error-tp4656752p4659917.html To unsubscribe from CAS + LDAP initialisation error, click here<http://jasig.275507.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4656752&code=emhhbmdwMUBkdXEuZWR1fDQ2NTY3NTJ8LTQzNjc0ODQx>. NAML<http://jasig.275507.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://jasig.275507.n4.nabble.com/CAS-LDAP-initialisation-error-tp4656752p4659930.html Sent from the CAS Users mailing list archive at Nabble.com. -- 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
