Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
in usersrepository.xml:
<repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://obm3.kvm.rla:389"
principal="" credentials="" userBase="dc=local" userIdAttribute="mailBox"
/>;
this is the example at https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-M2/container-spring/src/main/config/examples/usersrepository.xml
With this configuration the ldap request search with objectClass=null
I think a good default value is inetOrgPerson?
to specify objectClass attribut I have this in usersrepository.xml
<repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://obm3.kvm.rla:389"
principal="" credentials="" userBase="dc=local" userIdAttribute="mailBox"
userObjectClass="obmUser" />;
I use OpenLDAP server