Hi Zhe,
I do not see your LDAP Connection working. It seems like Bind is not working
for u. Please check if your ldap server gives anonymous access or not or use
user which has read-only access to your LDAP ( or use it's manager
dn/password to test and then change it to other user which has access to
read entries).
>From your confing, I do not see managerDn and password in
initialDirContextFactory. Please specify it and see.
<bean id="initialDirContextFactory"
class="org.acegisecurity.ldap.DefaultInitialDirContextFactory">
<constructor-arg
value="ldap://ldap.xxx.umich.edu:389/dc=xxx,dc=umich,dc=edu:389"/>
<property name="managerDn"><value>FULL_DN_OF_MANAGER_ACCOUNT like
cn=Manager, DC=umich,dc=edu</value></property>
<property
name="managerPassword"><value>PASSWORD_OF_MANAGERDN</value></property>
<property name="extraEnvVars">
<map>
<entry>
<key>
<value>java.naming.referral</value>
</key>
<value>follow</value>
</entry>
</map>
</property>
</bean>
See if this works for you.
Regards,
Pranav
--
View this message in context:
http://www.nabble.com/-Fwd%3A-Re%3A-Roller-LDAP-Support--tf1792699s12275.html#a5408655
Sent from the Roller - User forum at Nabble.com.