<?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 Impossible de voir les le groupe d&amp;apos;un utilisateur LDAP in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/impossible-de-voir-les-le-groupe-d-apos-un-utilisateur-ldap/m-p/318317#M5318</link>
    <description>&lt;P&gt;Bonjour à tous,
J'ai un soucis d’interopérabilité entre nuxeo et l'Active Directory.
Après plusieurs problèmes réglés par mes propres moyens, j'arrive à afficher mes groupes, à afficher les utilisateurs appartenant au groupes mais par contre lorsque je sélectionne un utilisateur, le groupe auquel il est associé ne s'affiche pas.
Je tiens à vous remercier d'avance du temps que vous me consacrerez afin de résoudre ce problème.
Voici le fichier qui permet de gérer les groupes:&lt;/P&gt;

&lt;COMPONENT name="org.nuxeo.ecm.directory.ldap.storage.groups"&gt;
  &lt;IMPLEMENTATION class="org.nuxeo.ecm.directory.ldap.LDAPDirectoryDescriptor"&gt;&lt;/IMPLEMENTATION&gt;
  &lt;IMPLEMENTATION class="org.nuxeo.ecm.directory.ldap.LDAPServerDescriptor"&gt;&lt;/IMPLEMENTATION&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  &lt;!-- the groups LDAP directory for users is required to make this bundle work --&gt;
&lt;P&gt;&lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.storage.users&lt;/REQUIRE&gt;&lt;/P&gt;
&lt;P&gt;&lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;&lt;/EXTENSION&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;directory name="groupLdapDirectory"&amp;gt;

  &amp;lt;!-- Reuse the default server configuration defined for userLdapDirectory --&amp;gt;
  &amp;lt;server&amp;gt;default&amp;lt;/server&amp;gt;

  &amp;lt;schema&amp;gt;group&amp;lt;/schema&amp;gt;
  &amp;lt;idField&amp;gt;groupname&amp;lt;/idField&amp;gt;

  &amp;lt;searchBaseDn&amp;gt;OU=Groupes,OU=SIV_LI,OU=Entites,DC=siv,DC=AD,DC=SNCF,DC=FR&amp;lt;/searchBaseDn&amp;gt;
 &amp;lt;!-- &amp;lt;searchFilter&amp;gt;
    (|(objectClass=groupOfUniqueNames)(objectClass=groupOfURLs))
  &amp;lt;/searchFilter&amp;gt; --&amp;gt;
  &amp;lt;searchScope&amp;gt;subtree&amp;lt;/searchScope&amp;gt;

  &amp;lt;readOnly&amp;gt;true&amp;lt;/readOnly&amp;gt;

  &amp;lt;!-- comment &amp;lt;cache* /&amp;gt; tags to disable the cache --&amp;gt;
  &amp;lt;!-- cache timeout in seconds --&amp;gt;
  &amp;lt;cacheTimeout&amp;gt;3600&amp;lt;/cacheTimeout&amp;gt;

  &amp;lt;!-- maximum number of cached entries before global invalidation --&amp;gt;
  &amp;lt;cacheMaxSize&amp;gt;1000&amp;lt;/cacheMaxSize&amp;gt;

  &amp;lt;creationBaseDn&amp;gt;ou=groups,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;groupOfUniqueNames&amp;lt;/creationClass&amp;gt;
  
  &amp;lt;!-- Maximum number of entries returned by the search --&amp;gt;
  &amp;lt;querySizeLimit&amp;gt;200&amp;lt;/querySizeLimit&amp;gt;

  &amp;lt;!-- Time to wait for a search to finish. 0 to wait indefinitely --&amp;gt;
  &amp;lt;queryTimeLimit&amp;gt;0&amp;lt;/queryTimeLimit&amp;gt;

  &amp;lt;rdnAttribute&amp;gt;cn&amp;lt;/rdnAttribute&amp;gt;
  &amp;lt;fieldMapping name="groupname"&amp;gt;cn&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;!-- Add another field to map reel group label
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FIELDMAPPING name="grouplabel"&gt;sn&lt;/FIELDMAPPING&gt;
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;references&amp;gt;


    &amp;lt;!-- LDAP reference resolve DNs embedded in uniqueMember attributes
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the target directory has no specific filtering policy, it is most
of the time not necessary to enable the 'forceDnConsistencyCheck' policy.&lt;/P&gt;
&lt;P&gt;Enabling this option will fetch each reference entry to ensure its
existence in the target directory.
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;ldapReference field="members" directory="userDirectory"
      forceDnConsistencyCheck="false" staticAttributeId="member"
      dynamicAttributeId="memberURL" /&amp;gt;

    &amp;lt;ldapReference field="subGroups" directory="groupLdapDirectory"
      forceDnConsistencyCheck="false" staticAttributeId="uniqueMember"
      dynamicAttributeId="memberURL" /&amp;gt;

    &amp;lt;inverseReference field="parentGroups" directory="groupLdapDirectory"
      dualReferenceField="subGroups" /&amp;gt;

    &amp;lt;!-- LDAP tree reference resolves children following the ldap tree
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;structure.&lt;/P&gt;
&lt;P&gt;Available scopes are "onelevel" (default), "subtree". Children with
same id than parent will be filtered.&lt;/P&gt;
&lt;P&gt;Enabling this option will fetch each reference entry to ensure its
existence in the target directory.&lt;/P&gt;
&lt;P&gt;WARNING: Edit is NOT IMPLEMENTED: modifications to this field will be
ignored when saving the entry.
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;ldapTreeReference field="directChildren" directory="unitDirectory"
      scope="onelevel" /&amp;gt;
    &amp;lt;ldapTreeReference field="children" directory="unitDirectory"
      scope="subtree" /&amp;gt;

  &amp;lt;/references&amp;gt;

&amp;lt;/directory&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;/COMPONENT&gt;</description>
    <pubDate>Tue, 30 Jul 2013 15:58:19 GMT</pubDate>
    <dc:creator>amirna12_</dc:creator>
    <dc:date>2013-07-30T15:58:19Z</dc:date>
    <item>
      <title>Impossible de voir les le groupe d&amp;apos;un utilisateur LDAP</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/impossible-de-voir-les-le-groupe-d-apos-un-utilisateur-ldap/m-p/318317#M5318</link>
      <description>&lt;P&gt;Bonjour à tous,
J'ai un soucis d’interopérabilité entre nuxeo et l'Active Directory.
Après plusieurs problèmes réglés par mes propres moyens, j'arrive à afficher mes groupes, à afficher les utilisateurs appartenant au groupes mais par contre lorsque je sélectionne un utilisateur, le groupe auquel il est associé ne s'affiche pas.
Je tiens à vous remercier d'avance du temps que vous me consacrerez afin de résoudre ce problème.
Voici le fichier qui permet de gérer les groupes:&lt;/P&gt;

&lt;COMPONENT name="org.nuxeo.ecm.directory.ldap.storage.groups"&gt;
  &lt;IMPLEMENTATION class="org.nuxeo.ecm.directory.ldap.LDAPDirectoryDescriptor"&gt;&lt;/IMPLEMENTATION&gt;
  &lt;IMPLEMENTATION class="org.nuxeo.ecm.directory.ldap.LDAPServerDescriptor"&gt;&lt;/IMPLEMENTATION&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  &lt;!-- the groups LDAP directory for users is required to make this bundle work --&gt;
&lt;P&gt;&lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.storage.users&lt;/REQUIRE&gt;&lt;/P&gt;
&lt;P&gt;&lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;&lt;/EXTENSION&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;directory name="groupLdapDirectory"&amp;gt;

  &amp;lt;!-- Reuse the default server configuration defined for userLdapDirectory --&amp;gt;
  &amp;lt;server&amp;gt;default&amp;lt;/server&amp;gt;

  &amp;lt;schema&amp;gt;group&amp;lt;/schema&amp;gt;
  &amp;lt;idField&amp;gt;groupname&amp;lt;/idField&amp;gt;

  &amp;lt;searchBaseDn&amp;gt;OU=Groupes,OU=SIV_LI,OU=Entites,DC=siv,DC=AD,DC=SNCF,DC=FR&amp;lt;/searchBaseDn&amp;gt;
 &amp;lt;!-- &amp;lt;searchFilter&amp;gt;
    (|(objectClass=groupOfUniqueNames)(objectClass=groupOfURLs))
  &amp;lt;/searchFilter&amp;gt; --&amp;gt;
  &amp;lt;searchScope&amp;gt;subtree&amp;lt;/searchScope&amp;gt;

  &amp;lt;readOnly&amp;gt;true&amp;lt;/readOnly&amp;gt;

  &amp;lt;!-- comment &amp;lt;cache* /&amp;gt; tags to disable the cache --&amp;gt;
  &amp;lt;!-- cache timeout in seconds --&amp;gt;
  &amp;lt;cacheTimeout&amp;gt;3600&amp;lt;/cacheTimeout&amp;gt;

  &amp;lt;!-- maximum number of cached entries before global invalidation --&amp;gt;
  &amp;lt;cacheMaxSize&amp;gt;1000&amp;lt;/cacheMaxSize&amp;gt;

  &amp;lt;creationBaseDn&amp;gt;ou=groups,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;groupOfUniqueNames&amp;lt;/creationClass&amp;gt;
  
  &amp;lt;!-- Maximum number of entries returned by the search --&amp;gt;
  &amp;lt;querySizeLimit&amp;gt;200&amp;lt;/querySizeLimit&amp;gt;

  &amp;lt;!-- Time to wait for a search to finish. 0 to wait indefinitely --&amp;gt;
  &amp;lt;queryTimeLimit&amp;gt;0&amp;lt;/queryTimeLimit&amp;gt;

  &amp;lt;rdnAttribute&amp;gt;cn&amp;lt;/rdnAttribute&amp;gt;
  &amp;lt;fieldMapping name="groupname"&amp;gt;cn&amp;lt;/fieldMapping&amp;gt;
  &amp;lt;!-- Add another field to map reel group label
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FIELDMAPPING name="grouplabel"&gt;sn&lt;/FIELDMAPPING&gt;
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;references&amp;gt;


    &amp;lt;!-- LDAP reference resolve DNs embedded in uniqueMember attributes
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the target directory has no specific filtering policy, it is most
of the time not necessary to enable the 'forceDnConsistencyCheck' policy.&lt;/P&gt;
&lt;P&gt;Enabling this option will fetch each reference entry to ensure its
existence in the target directory.
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;ldapReference field="members" directory="userDirectory"
      forceDnConsistencyCheck="false" staticAttributeId="member"
      dynamicAttributeId="memberURL" /&amp;gt;

    &amp;lt;ldapReference field="subGroups" directory="groupLdapDirectory"
      forceDnConsistencyCheck="false" staticAttributeId="uniqueMember"
      dynamicAttributeId="memberURL" /&amp;gt;

    &amp;lt;inverseReference field="parentGroups" directory="groupLdapDirectory"
      dualReferenceField="subGroups" /&amp;gt;

    &amp;lt;!-- LDAP tree reference resolves children following the ldap tree
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;structure.&lt;/P&gt;
&lt;P&gt;Available scopes are "onelevel" (default), "subtree". Children with
same id than parent will be filtered.&lt;/P&gt;
&lt;P&gt;Enabling this option will fetch each reference entry to ensure its
existence in the target directory.&lt;/P&gt;
&lt;P&gt;WARNING: Edit is NOT IMPLEMENTED: modifications to this field will be
ignored when saving the entry.
--&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;ldapTreeReference field="directChildren" directory="unitDirectory"
      scope="onelevel" /&amp;gt;
    &amp;lt;ldapTreeReference field="children" directory="unitDirectory"
      scope="subtree" /&amp;gt;

  &amp;lt;/references&amp;gt;

&amp;lt;/directory&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;/COMPONENT&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:58:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/impossible-de-voir-les-le-groupe-d-apos-un-utilisateur-ldap/m-p/318317#M5318</guid>
      <dc:creator>amirna12_</dc:creator>
      <dc:date>2013-07-30T15:58:19Z</dc:date>
    </item>
  </channel>
</rss>

