james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hebus Troy (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-1205) objectClass attribut to search user on LDAP
Date Wed, 16 Mar 2011 13:56:29 GMT
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message