Hi Merve,
Multiple user repositories are no more supported in james3.
It all began here:
http://markmail.org/message/pisalebszv2cjd3r
If you need this, please open a JIRA and refer to those various thread.
Thx, Eric
On 08/08/2012 02:38 PM, Merve Temizer wrote:
sorry i read the original message wrong.
But i wonder if there is a possibility.
2012/8/8 nibbllee <[email protected]>
Hi,
In 2011 march, James was letting us for adding multi domains, as i can see
in this post.
Now in 2012, with 3.0beta4, i wonder if i can use multiple LDAP domains
by
<userrepository>
<repository>
</repository>
<repository>
</repository>
..<!--maybe more ldap repositories>
</userrepository>
is it still possible.
Any suggestion would be appreciated.
Norman Maurer-3 wrote:
Hi there,
this was a bug. I just committed a fix. See also :
https://issues.apache.org/jira/browse/JAMES-1204
You should be able to build james from source your grab a fresh snapshot
in
a few hours:
https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/
Thanks for reporting,
Norman
2011/3/16 Lanfeust troy <[email protected]>
Hi,
sure i can send log
With this configration:
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" />
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"/>;
</usersrepository>
stacktrace in file join
2011/3/15 Eric Charles <[email protected]>
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
View this message in context:
http://old.nabble.com/Howto-use-ReadOnlyUsersLDAPRepository-tp31155206p34271473.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]