greate, thanks for your hard work. I tried to follow the instruction and got
the following error:
ERROR 2005-07-29 07:02:13,124 StandardWrapperValve:invoke -
Servlet.service() for servlet default threw exception
org.acegisecurity.ldap.LdapDataAccessException: Unable to connect to LDAP
server; nested exception is javax.naming.CommunicationException: Request: 1
cancelled
javax.naming.CommunicationException: Request: 1 cancelled
at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:77)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:435)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:357)
Can you give me some suggestion how it happended?
Thanks!
here is my related config:
<bean id="ldapAuthProvider"
class="org.acegisecurity.providers.ldap.LdapAuthenticationProvider">
<constructor-arg>
<bean
class="org.acegisecurity.providers.ldap.authenticator.BindAuthenticator" >
<constructor-arg>
<ref local="initialDirContextFactory"/>
</constructor-arg>
<property name="userDnPatterns">
<list>
<value>uid={0},ou=people </value></list>
</property>
</bean>
</constructor-arg>
<constructor-arg>
<bean
class="org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">
<constructor-arg><ref
local="initialDirContextFactory"/></constructor-arg>
<constructor-arg><value>ou=groups</value></constructor-arg>
<property name="groupRoleAttribute"><value>ou</value></property>
</bean>
</constructor-arg>
</bean>
<bean id="initialDirContextFactory"
class="org.acegisecurity.ldap.DefaultInitialDirContextFactory">
<constructor-arg
value="ldap://ldap.xxx.umich.edu:xxx/dc=xxx,dc=umich,dc=edu"/>
</bean>
<bean id="authenticationManager"
class="org.acegisecurity.providers.ProviderManager">
<property name="providers">
<list>
<ref local="ldapAuthProvider"/>
<ref local="daoAuthenticationProvider"/>
<ref local="anonymousAuthenticationProvider"/>
<!-- rememberMeAuthenticationProvider added programmatically
-->
</list>
</property>
</bean>
--
View this message in context:
http://www.nabble.com/-Fwd%3A-Re%3A-Roller-LDAP-Support--tf1792699s12275.html#a5401224
Sent from the Roller - User forum at Nabble.com.