Hi, Welcome to CAS! I'm not an LDAP expert either (we also don't use Fastbind), but I'll try to provide some basic guidance and then our OpenLDAP experts can chime in (we have a few).
On Thu, Jul 24, 2008 at 10:07 AM, Matthew Jones < [EMAIL PROTECTED]> wrote: > <snip /> > > Now, I see that I should have an AuthenticatedLdapContextSource bean > configured but this has parameters (property) such as userName and > Password. Given that these values should come from the CAS login screen > what should I put here? No need to put anything there! The ContextSource is generic so it can be used for both the FastBind and the other option. > > > <snip /> > > Maybe I have got the wrong end of the stick altogether but I thought > that using the bind directly to LDAP ought to be the simplest form of > LDAP authentication. However, when username & password are mentioned I > get confused. The configuration file (and some posts) mention the > UsernamePasswordCredentialsToPrincipalResolver and a produced > SimplePrincipal instance. Should I be making use of these and if so how? The UsernamePasswordCredentialsToPrincipalResolver should actually be configured already in your deployerConfigContext.xml. Unless you've removed it, there's no need to do anything with it! Have you tried starting up your CAS server after configuring it with LDAP? If you've got any Spring configuration issues you'll see them. If you have authentication issues you may not see them until you turn your logging level up (in the WEB-INF/classes/log4j.properties you can set it to DEBUG instead of INFO or WARN). Sun also has some LDAP specific logging stuff. -Scott > > > Sorry for the very basic nature of these questions but it isn't obvious > to me what I should be trying to do. > > Thanks > > -- > Matthew Jones > Interactive Data Managed Solutions Ltd > ----------------------------------------------------------------------- > Registered in England Company Number 3691868 > Registered Office: Suite 1101 Eagle Tower | Montpellier Drive | > Cheltenham | Gloucestershire | GL50 1TA > Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109 > [EMAIL PROTECTED] > http://www.interactivedata-ms.com/694133 > > _______________________________________________ > 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
