Hi
I have been going through the same hell today so maybe I can try and answer a
couple of your questions:
1. Can CAS 3.0.7 configure LDAP or I have to upgrade to the most recent version?
>> Probably. Try following this guide:
>> http://www.ja-sig.org/wiki/display/CASUM/LDAP, it worked for me.
2. If I want to configure CAS 3.0.7 to LDAP, I don't find porn.xml in webapps.
>> It's called pom.xml (not porn) and I think it's in a subdirectory under
>> /META-INF
3. where should I put the following code in deployerConfigContext.xml?
>> I think it's in Web.xml. If you follow that guide in (1) it explains what
>> you need to change. There a quite a few options to change, but I found if I
>> went through each one systematically, I eventually got the config right. It
>> helps if you have some config from something else that connects to your LDAP
>> server (some other app) that you can look at for the correct syntax (LDAP
>> connection syntax can vary a bit depending on which LDAP server you are
>> using. Also, have an LDAP browser handy so you can see your directory
>> structure. That will also help.
4. I don't understand the following piece code from ldap
<property name="userName" value="{bind_username_goes_here}"/>
<property name="password" value="{bind_user_password_goes_here}"/>
>> put your LDAP administrator username and password in there. So, whereas with
>> MySQL you have root/mypassword, put in the corresponding values for LDAP
>> instead. I can't remember if I kept the {} braces - they may not be required
>> if you put the literal username/password in. Try with and without.
If you know how to populate roles etc into the session principal (either with
MySQL or LDAP) please let me know :)
Regards
Richard
> Date: Mon, 28 Apr 2008 10:59:43 -0500
> From: [EMAIL PROTECTED]
> To: [email protected]; [EMAIL PROTECTED]
> Subject: CAS3.0.7 + LDAP configuration -- urgent help request!!
>
> first, I have my CAS 3.0.7 up and running for mysql server.
>
> I am using CAS 3.0.7. I plan to configure CAS 3.0.7 with LDAP. I have
> LDAP server.
> Now when I refer to page http://www.ja-sig.org/wiki/display/CASUM/LDAP
> to help me configure and I find something missing in my CAS 3.0.7. I
> have few questions
> 1. Can CAS 3.0.7 configure LDAP or I have to upgrade to the most recent
> version?
>
> 2. If I want to configure CAS 3.0.7 to LDAP, I don't find porn.xml in
> webapps. How do I add porn.xml portion into it? Can I just copy porn.xml
> file into my CAS 3.0.7's webapps folder? if not, where do I add the
> following piece
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>cas-server-support-ldap</artifactId>
> <version>${project.version}</version>
> </dependency>
>
>
>
> 3. where should I put the following code in deployerConfigCpntext.xml? I
> attached my deployerConfigCpntext.xml.for you to take a look if it's
> right I put that piece. Also, when I add the ldap part into
> deployerConfigCpntext.xml, do I need to comment out my mysql connection
> bean?
>
> 4. I don't understand the following piece code from ldap
>
> <property name="userName" value="{bind_username_goes_here}"/>
> <property name="password"
> value="{bind_user_password_goes_here}"/>
>
> Do I need to change anything above?
>
>
> Edward
_________________________________________________________________
100’s of prizes to be won at BigSnapSearch.com
http://www.bigsnapsearch.com_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas