Hi,
The way users / user repository is handled changed recently and was not
tested with the LDAP repo.
Can you send the full stacktrace (if any) from log ?
Tks
- Eric
On 15/03/2011 16:48, Lanfeust troy wrote:
Hi all
I'm trying Apache James Server and I don't understand how can i use
ReadOnlyUsersLDAPRepository.
I have the following in usersrepository.xml
<usersrepository>
<!-- Read-Only LDAP based UsersRepository -->
<repository name="LocalUsers"
class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository"
ldapHost="ldap://obm3.kvm.rla:389"
principal="" credentials="" userBase="dc=local"
userIdAttribute="mailBox"/>;
<!--
<repository name="LocalUsers"
class="org.apache.james.user.jpa.JPAUsersRepository">
<algorithm>MD5</algorithm>
</repository>
-->
</usersrepository>
but the server don't want to start with this error:
Error creating bean with name 'usersstore'
Error creating bean with name 'localusersrepository':
in spring-beans.xml
<bean id="usersstore" class="org.apache.james.user.lib.JamesUsersStore">
<property name="defaultRepository" value="LocalUsers"/>
</bean>
<bean id="localusersrepository"
class="org.apache.james.user.lib.LocalUsersRepository"
thanks for help
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]