Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1205

objectClass attribut to search user on LDAP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hebus99 Hebus Troy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: