Adam,

 

On the org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
class, there is a property called anonymousReadOnly.  If you set this to
true, then you don't need a username and password to connect to your
ldap source.

 

        <bean id="contextSource"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">

                <property name="pooled" value="true"/>

                <property name="url" value="ldap://ldap.example.com"; />

                <property name="anonymousReadOnly" value="true" />

        </bean>

 

Andrew R Feller, Analyst

Subversion Administrator

University Information Systems

Louisiana State University

[EMAIL PROTECTED]

(office) 225.578.3737

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Adam Rybicki
Sent: Thursday, October 04, 2007 2:51 PM
To: Yale CAS mailing list
Subject: Re: CAS and LDAP configuration questions

 

Scott,

I am trying to get the same thing accomplished (LDAP authentication) ,
but I don't need to do the LDAP search using an authenticated LDAP user.
Substituting for Spring's
org.springframework.ldap.support.LdapContextSource won't work because
org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHa
ndler assumes that I am using the
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource.  Is
there another way to get this working with an anonymous LDAP search?

Thanks,

Adam

Scott Battaglia wrote: 

This may help:
http://www.ja-sig.org/wiki/display/CASUM/LDAP

-Scott

On 10/4/07, Richard Kheir <[EMAIL PROTECTED]> wrote: 

... Check for the connection type for your LDAP and set the correct
authentication handler with the correct settings.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Fluhr, Tim
Sent: Thursday, October 04, 2007 2:28 PM
To: [email protected]
Subject: CAS and LDAP configuration questions

 

Hello all.

 

I'm trying to get CAS to authenticate against my LDAP but I think I am
missing something.  I am able to authenticate using the NetID=password
method without any problems.  I am not able to, however, authenticate
using any valid LDAP credentials.  I get the following errors...

 

The credentials you provided cannot be determined to be authentic.

 

and from catalina.out...

 

2007-10-04 13:24:15,248 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
<AuthenticationHandler:
org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordA
uthenticationHandler failed to authenticate the user which provided the
following credentials: drupal>

 

Do I have to create a cas.war in the cas-server-support-ldap directory
and then move it to webapps?  This is where I am stuck.  Any help would
be appreciated.


Thanks.

 

-tim


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




-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia 

 



________________________________



 
_______________________________________________
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