objectClass attribut to search user on LDAP
-------------------------------------------

                 Key: JAMES-1205
                 URL: https://issues.apache.org/jira/browse/JAMES-1205
             Project: JAMES Server
          Issue Type: Bug
          Components: UsersStore & UsersRepository
            Reporter: Hebus Troy
            Priority: Minor


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



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to