LDAP, OpenDS integeration to Nuxeo?

I want to integrate Nuexeo EP 5.5 or 5.6 to OpenDS LDAP server, so that user could authenticate, i followed the aviliable document, did not help so far , i can not make it works, does any tried to do with OpenDS ?

the following is the created default-ldap-users-directory-config.xml under /var/lib/nuxeo/server/conf (i use ubuntu Server 12.04)

<!-- Configuration of a server connection
  A single server declaration can point to a cluster of replicated
  servers (using OpenLDAP's slapd + sluprd for instance). To leverage
  such a cluster and improve availability, please provide one
  <ldapUrl/> tag for each replica of the cluster.
<server name="default">
  <!-- Optional servers from the same cluster for failover
    and load balancing:


    "ldaps" means TLS/SSL connection.

  <!-- Credentials used by Nuxeo5 to browse the directory, create
    and modify entries.

    Only the authentication of users (bind) use the credentials entered
    through the login form if any.
  <bindDn>cn=Directory Manager,ou=people,dc=myorg,dc=com</bindDn>

<extension target=“org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory”

<directory name="userDirectory">

  <!-- To additionally restricte entries you can add an
    arbitrary search filter such as the following:


    Beware that "&" writes "&amp;" in XML.

  <!-- use subtree if the people branch is nested -->

  <!-- using 'subany', search will match *toto*. use 'subfinal' to
    match *toto and 'subinitial' to match toto*. subinitial is the
    default  behaviour-->


  <!-- comment <cache* /> tags to disable the cache -->
  <!-- cache timeout in seconds -->

  <!-- maximum number of cached entries before global invalidation -->

       If the id field is not returned by the search, we set it with the searched entry, probably the login.
       Before setting it, you can change its case. Accepted values are 'lower' and 'upper',
       anything else will not change the case.

  <!-- Maximum number of entries returned by the search -->

  <!-- Time to wait for a search to finish. 0 to wait indefinitely -->


  <fieldMapping name="username">uid</fieldMapping>
  <fieldMapping name="password">userPassword</fieldMapping>
  <fieldMapping name="firstName">givenName</fieldMapping>
  <fieldMapping name="lastName">sn</fieldMapping>
  <fieldMapping name="company">o</fieldMapping>
  <fieldMapping name="email">mail</fieldMapping>

    <inverseReference field="groups" directory="groupDirectory"
      dualReferenceField="members" />


0 votes

0 answers