<?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 configure the connexion to the LDAP to get the group in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/configure-the-connexion-to-the-ldap-to-get-the-group/m-p/320730#M7731</link>
    <description>&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;I need some help to configure the connexion to the LDAP to get the group.
The configuration file default-ldap-users-directory-config.xml to get the users work perfectly.
Someone can help me to do the same thing for the groups LDAP ?
Thanks a lot&lt;/P&gt;
&lt;P&gt;Here is the parameters of the file default-ldap-users-directory-config.xml:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory"    point="directories"&amp;gt;
&amp;lt;directory name="userDirectory"&amp;gt;
  &amp;lt;server&amp;gt;default&amp;lt;/server&amp;gt;
  &amp;lt;schema&amp;gt;user&amp;lt;/schema&amp;gt;
  &amp;lt;idField&amp;gt;username&amp;lt;/idField&amp;gt;
  &amp;lt;passwordField&amp;gt;password&amp;lt;/passwordField&amp;gt;
  &amp;lt;searchBaseDn&amp;gt;dc=xxx,dc=xxx&amp;lt;/searchBaseDn&amp;gt;
  &amp;lt;searchClass&amp;gt;person&amp;lt;/searchClass&amp;gt;
  &amp;lt;searchScope&amp;gt;subtree&amp;lt;/searchScope&amp;gt;
  &amp;lt;substringMatchType&amp;gt;subany&amp;lt;/substringMatchType&amp;gt;
  &amp;lt;readOnly&amp;gt;true&amp;lt;/readOnly&amp;gt;
  &amp;lt;cacheTimeout&amp;gt;3600&amp;lt;/cacheTimeout&amp;gt;
  &amp;lt;cacheMaxSize&amp;gt;1000&amp;lt;/cacheMaxSize&amp;gt;
  &amp;lt;missingIdFieldCase&amp;gt;lower&amp;lt;/missingIdFieldCase&amp;gt;
  &amp;lt;querySizeLimit&amp;gt;200&amp;lt;/querySizeLimit&amp;gt;
  &amp;lt;queryTimeLimit&amp;gt;0&amp;lt;/queryTimeLimit&amp;gt;
  &amp;lt;creationBaseDn&amp;gt;ou=people,dc=example,dc=com&amp;lt;/creationBaseDn&amp;gt;
  &amp;lt;creationClass&amp;gt;top&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;person&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;organizationalPerson&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;inetOrgPerson&amp;lt;/creationClass&amp;gt;
  &amp;lt;rdnAttribute&amp;gt;sAMAccountName&amp;lt;/rdnAttribute&amp;gt;
  &amp;lt;fieldMapping name="username"&amp;gt;sAMAccountName&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="password"&amp;gt;userPassword&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="firstName"&amp;gt;givenName&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="lastName"&amp;gt;sn&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="company"&amp;gt;description&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="email"&amp;gt;mail&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;references&amp;gt;
    &amp;lt;inverseReference field="groups" directory="groupDirectory"
      dualReferenceField="members" /&amp;gt;
  &amp;lt;/references&amp;gt;
&amp;lt;/directory&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Nov 2012 09:29:14 GMT</pubDate>
    <dc:creator>NuxeoAnsWers_</dc:creator>
    <dc:date>2012-11-23T09:29:14Z</dc:date>
    <item>
      <title>configure the connexion to the LDAP to get the group</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/configure-the-connexion-to-the-ldap-to-get-the-group/m-p/320730#M7731</link>
      <description>&lt;P&gt;hello&lt;/P&gt;
&lt;P&gt;I need some help to configure the connexion to the LDAP to get the group.
The configuration file default-ldap-users-directory-config.xml to get the users work perfectly.
Someone can help me to do the same thing for the groups LDAP ?
Thanks a lot&lt;/P&gt;
&lt;P&gt;Here is the parameters of the file default-ldap-users-directory-config.xml:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory"    point="directories"&amp;gt;
&amp;lt;directory name="userDirectory"&amp;gt;
  &amp;lt;server&amp;gt;default&amp;lt;/server&amp;gt;
  &amp;lt;schema&amp;gt;user&amp;lt;/schema&amp;gt;
  &amp;lt;idField&amp;gt;username&amp;lt;/idField&amp;gt;
  &amp;lt;passwordField&amp;gt;password&amp;lt;/passwordField&amp;gt;
  &amp;lt;searchBaseDn&amp;gt;dc=xxx,dc=xxx&amp;lt;/searchBaseDn&amp;gt;
  &amp;lt;searchClass&amp;gt;person&amp;lt;/searchClass&amp;gt;
  &amp;lt;searchScope&amp;gt;subtree&amp;lt;/searchScope&amp;gt;
  &amp;lt;substringMatchType&amp;gt;subany&amp;lt;/substringMatchType&amp;gt;
  &amp;lt;readOnly&amp;gt;true&amp;lt;/readOnly&amp;gt;
  &amp;lt;cacheTimeout&amp;gt;3600&amp;lt;/cacheTimeout&amp;gt;
  &amp;lt;cacheMaxSize&amp;gt;1000&amp;lt;/cacheMaxSize&amp;gt;
  &amp;lt;missingIdFieldCase&amp;gt;lower&amp;lt;/missingIdFieldCase&amp;gt;
  &amp;lt;querySizeLimit&amp;gt;200&amp;lt;/querySizeLimit&amp;gt;
  &amp;lt;queryTimeLimit&amp;gt;0&amp;lt;/queryTimeLimit&amp;gt;
  &amp;lt;creationBaseDn&amp;gt;ou=people,dc=example,dc=com&amp;lt;/creationBaseDn&amp;gt;
  &amp;lt;creationClass&amp;gt;top&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;person&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;organizationalPerson&amp;lt;/creationClass&amp;gt;
  &amp;lt;creationClass&amp;gt;inetOrgPerson&amp;lt;/creationClass&amp;gt;
  &amp;lt;rdnAttribute&amp;gt;sAMAccountName&amp;lt;/rdnAttribute&amp;gt;
  &amp;lt;fieldMapping name="username"&amp;gt;sAMAccountName&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="password"&amp;gt;userPassword&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="firstName"&amp;gt;givenName&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="lastName"&amp;gt;sn&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="company"&amp;gt;description&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;fieldMapping name="email"&amp;gt;mail&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;references&amp;gt;
    &amp;lt;inverseReference field="groups" directory="groupDirectory"
      dualReferenceField="members" /&amp;gt;
  &amp;lt;/references&amp;gt;
&amp;lt;/directory&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Nov 2012 09:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/configure-the-connexion-to-the-ldap-to-get-the-group/m-p/320730#M7731</guid>
      <dc:creator>NuxeoAnsWers_</dc:creator>
      <dc:date>2012-11-23T09:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: configure the connexion to the LDAP to get the group</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/configure-the-connexion-to-the-ldap-to-get-the-group/m-p/320731#M7732</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You must contribute a "groupDirectory"; here you're only contributing a "userDirectory". Look at &lt;A href="https://github.com/nuxeo/nuxeo-services/tree/master/nuxeo-platform-directory/nuxeo-platform-directory-ldap/examples"&gt;the samples in the source code&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2012 12:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/configure-the-connexion-to-the-ldap-to-get-the-group/m-p/320731#M7732</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-11-23T12:09:41Z</dc:date>
    </item>
  </channel>
</rss>

