<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LDAP, OpenDS integeration to Nuxeo? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-opends-integeration-to-nuxeo/m-p/313439#M440</link>
    <description>&lt;P&gt;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 ?&lt;/P&gt;
&lt;P&gt;the following is the created default-ldap-users-directory-config.xml under /var/lib/nuxeo/server/conf (i use ubuntu Server 12.04)&lt;/P&gt;

&lt;COMPONENT name="org.nuxeo.ecm.directory.ldap.storage.users"&gt;
  
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  
  &lt;!-- the groups SQL directories are required to make this bundle work --&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.sql.storage&lt;/REQUIRE&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="servers"&gt;
  
    &lt;!-- 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
      &lt;ldapUrl/&gt; tag for each replica of the cluster.
    --&gt;
    &lt;SERVER name="default"&gt;
      &lt;LDAPURL&gt;ldap://localhost:389&lt;/LDAPURL&gt;
      &lt;!-- Optional servers from the same cluster for failover
        and load balancing:
  
        &lt;ldapUrl&gt;ldap://server2:389&lt;/ldapUrl&gt;
        &lt;ldapUrl&gt;ldaps://server3:389&lt;/ldapUrl&gt;
  
        "ldaps" means TLS/SSL connection.
      --&gt;
  
      &lt;!-- 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.
      --&gt;
      &lt;BINDDN&gt;cn=Directory Manager,ou=people,dc=myorg,dc=com&lt;/BINDDN&gt;
      &lt;BINDPASSWORD&gt;password&lt;/BINDPASSWORD&gt;
    &lt;/SERVER&gt;
  &lt;/EXTENSION&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="userDirectory"&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
  
      &lt;SEARCHBASEDN&gt;ou=people,dc=alnabaa,dc=org&lt;/SEARCHBASEDN&gt;
      &lt;SEARCHCLASS&gt;person&lt;/SEARCHCLASS&gt;
      &lt;!-- To additionally restricte entries you can add an
        arbitrary search filter such as the following:
  
        &lt;searchFilter&gt;(&amp;amp;(sn=toto*)(myCustomAttribute=somevalue))&lt;/searchFilter&gt;
  
        Beware that "&amp;" writes "&amp;amp;" in XML.
      --&gt;
  
      &lt;!-- use subtree if the people branch is nested --&gt;
      &lt;SEARCHSCOPE&gt;onelevel&lt;/SEARCHSCOPE&gt;
  
      &lt;!-- using 'subany', search will match *toto*. use 'subfinal' to
        match *toto and 'subinitial' to match toto*. subinitial is the
        default  behaviour--&gt;
      &lt;SUBSTRINGMATCHTYPE&gt;subany&lt;/SUBSTRINGMATCHTYPE&gt;
  
      &lt;READONLY&gt;false&lt;/READONLY&gt;
  
      &lt;!-- comment &lt;cache* /&gt; tags to disable the cache --&gt;
      &lt;!-- cache timeout in seconds --&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
  
      &lt;!-- maximum number of cached entries before global invalidation --&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
  
      &lt;!--
           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.
      --&gt;
      &lt;MISSINGIDFIELDCASE&gt;lower&lt;/MISSINGIDFIELDCASE&gt;
  
      &lt;!-- Maximum number of entries returned by the search --&gt;
      &lt;QUERYSIZELIMIT&gt;200&lt;/QUERYSIZELIMIT&gt;
  
      &lt;!-- Time to wait for a search to finish. 0 to wait indefinitely --&gt;
      &lt;QUERYTIMELIMIT&gt;0&lt;/QUERYTIMELIMIT&gt;
  
      &lt;CREATIONBASEDN&gt;ou=people,dc=myorg,dc=com&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;person&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;organizationalPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;inetOrgPerson&lt;/CREATIONCLASS&gt;
  
      &lt;RDNATTRIBUTE&gt;uid&lt;/RDNATTRIBUTE&gt;
      &lt;FIELDMAPPING name="username"&gt;uid&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="password"&gt;userPassword&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="firstName"&gt;givenName&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="lastName"&gt;sn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="company"&gt;o&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="email"&gt;mail&lt;/FIELDMAPPING&gt;
  
      &lt;REFERENCES&gt;
        &lt;INVERSEREFERENCE field="groups" directory="groupDirectory" dualreferencefield="members"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.platform.usermanager.UserService" point="userManager"&gt;
    &lt;USERMANAGER&gt;
      &lt;DEFAULTADMINISTRATORID&gt;admin.user&lt;/DEFAULTADMINISTRATORID&gt;
      &lt;DEFAULTGROUP&gt;group-administrator&lt;/DEFAULTGROUP&gt;
    &lt;/USERMANAGER&gt;
  &lt;/EXTENSION&gt;
&lt;/COMPONENT&gt;</description>
    <pubDate>Tue, 02 Oct 2012 19:16:12 GMT</pubDate>
    <dc:creator>ferrycode_</dc:creator>
    <dc:date>2012-10-02T19:16:12Z</dc:date>
    <item>
      <title>LDAP, OpenDS integeration to Nuxeo?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-opends-integeration-to-nuxeo/m-p/313439#M440</link>
      <description>&lt;P&gt;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 ?&lt;/P&gt;
&lt;P&gt;the following is the created default-ldap-users-directory-config.xml under /var/lib/nuxeo/server/conf (i use ubuntu Server 12.04)&lt;/P&gt;

&lt;COMPONENT name="org.nuxeo.ecm.directory.ldap.storage.users"&gt;
  
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  
  &lt;!-- the groups SQL directories are required to make this bundle work --&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.sql.storage&lt;/REQUIRE&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="servers"&gt;
  
    &lt;!-- 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
      &lt;ldapUrl/&gt; tag for each replica of the cluster.
    --&gt;
    &lt;SERVER name="default"&gt;
      &lt;LDAPURL&gt;ldap://localhost:389&lt;/LDAPURL&gt;
      &lt;!-- Optional servers from the same cluster for failover
        and load balancing:
  
        &lt;ldapUrl&gt;ldap://server2:389&lt;/ldapUrl&gt;
        &lt;ldapUrl&gt;ldaps://server3:389&lt;/ldapUrl&gt;
  
        "ldaps" means TLS/SSL connection.
      --&gt;
  
      &lt;!-- 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.
      --&gt;
      &lt;BINDDN&gt;cn=Directory Manager,ou=people,dc=myorg,dc=com&lt;/BINDDN&gt;
      &lt;BINDPASSWORD&gt;password&lt;/BINDPASSWORD&gt;
    &lt;/SERVER&gt;
  &lt;/EXTENSION&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="userDirectory"&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
  
      &lt;SEARCHBASEDN&gt;ou=people,dc=alnabaa,dc=org&lt;/SEARCHBASEDN&gt;
      &lt;SEARCHCLASS&gt;person&lt;/SEARCHCLASS&gt;
      &lt;!-- To additionally restricte entries you can add an
        arbitrary search filter such as the following:
  
        &lt;searchFilter&gt;(&amp;amp;(sn=toto*)(myCustomAttribute=somevalue))&lt;/searchFilter&gt;
  
        Beware that "&amp;" writes "&amp;amp;" in XML.
      --&gt;
  
      &lt;!-- use subtree if the people branch is nested --&gt;
      &lt;SEARCHSCOPE&gt;onelevel&lt;/SEARCHSCOPE&gt;
  
      &lt;!-- using 'subany', search will match *toto*. use 'subfinal' to
        match *toto and 'subinitial' to match toto*. subinitial is the
        default  behaviour--&gt;
      &lt;SUBSTRINGMATCHTYPE&gt;subany&lt;/SUBSTRINGMATCHTYPE&gt;
  
      &lt;READONLY&gt;false&lt;/READONLY&gt;
  
      &lt;!-- comment &lt;cache* /&gt; tags to disable the cache --&gt;
      &lt;!-- cache timeout in seconds --&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
  
      &lt;!-- maximum number of cached entries before global invalidation --&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
  
      &lt;!--
           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.
      --&gt;
      &lt;MISSINGIDFIELDCASE&gt;lower&lt;/MISSINGIDFIELDCASE&gt;
  
      &lt;!-- Maximum number of entries returned by the search --&gt;
      &lt;QUERYSIZELIMIT&gt;200&lt;/QUERYSIZELIMIT&gt;
  
      &lt;!-- Time to wait for a search to finish. 0 to wait indefinitely --&gt;
      &lt;QUERYTIMELIMIT&gt;0&lt;/QUERYTIMELIMIT&gt;
  
      &lt;CREATIONBASEDN&gt;ou=people,dc=myorg,dc=com&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;person&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;organizationalPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;inetOrgPerson&lt;/CREATIONCLASS&gt;
  
      &lt;RDNATTRIBUTE&gt;uid&lt;/RDNATTRIBUTE&gt;
      &lt;FIELDMAPPING name="username"&gt;uid&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="password"&gt;userPassword&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="firstName"&gt;givenName&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="lastName"&gt;sn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="company"&gt;o&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="email"&gt;mail&lt;/FIELDMAPPING&gt;
  
      &lt;REFERENCES&gt;
        &lt;INVERSEREFERENCE field="groups" directory="groupDirectory" dualreferencefield="members"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
  
  &lt;EXTENSION target="org.nuxeo.ecm.platform.usermanager.UserService" point="userManager"&gt;
    &lt;USERMANAGER&gt;
      &lt;DEFAULTADMINISTRATORID&gt;admin.user&lt;/DEFAULTADMINISTRATORID&gt;
      &lt;DEFAULTGROUP&gt;group-administrator&lt;/DEFAULTGROUP&gt;
    &lt;/USERMANAGER&gt;
  &lt;/EXTENSION&gt;
&lt;/COMPONENT&gt;</description>
      <pubDate>Tue, 02 Oct 2012 19:16:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-opends-integeration-to-nuxeo/m-p/313439#M440</guid>
      <dc:creator>ferrycode_</dc:creator>
      <dc:date>2012-10-02T19:16:12Z</dc:date>
    </item>
  </channel>
</rss>

