|
Good news, I'm making progress... I've been able to
make a successful connection.
Changing the filter did the trick.
But because of the referrals issue, it only works
within an organisational unit. If I specify the searchBase as starting from the
root like so (<property name="searchBase" value="dc=ensieta,dc=ecole" />
), I'm getting a CAS unavailable error message (because the bind doesn't
work).
Since the university uses several OUs to store the
users, this is not yet good for us but it's certainly going in the right
direction... Thanks a lot for you help. If I can set the referrals option
properly, I'm sure it's going to work.
----- Original Message -----
Sent: Friday, October 20, 2006 1:53
PM
Subject: Re:
BindLdapAuthenticationHandler question
The location of the bean will
have no affect on whether things work or not. Spring can find it either
way.
The default value for the Search Scope is SUBTREE.
However,
I believe that your filter may need cn=%u instead of uid=%u.
Can
anyone confirm that?
On 10/20/06, Laurent
Domenech <[EMAIL PROTECTED]>
wrote:
Thanks
for your message. Yes, I just tried. It didn't change anything. IMHO it's
better this way as it woud be scary if just the location of the
bean inside the xml config file would make it work.
----- Original
Message ----- From: <[EMAIL PROTECTED]> To: "Yale CAS mailing
list" <
[email protected]> Sent: Friday, October 20, 2006 9:38 AM
Subject: Re: BindLdapAuthenticationHandler
question
> > Have you try to put your contextSource at
the top of file? Like this > > <beans> > <bean
id="contextSource" >
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource"> >
<property name="urls"> > <list> >
<value>ldap://@ip:389</value> > </list> >
</property> > </bean> > > >
_______________________________________________ > 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
_______________________________________________ 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