<?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 Re: How to configure Nuxeo with dynamic groups in OpenLDAP? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318189#M5190</link>
    <description>&lt;P&gt;Thx this is it!!!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2012 16:09:33 GMT</pubDate>
    <dc:creator>Clément_Lardeur</dc:creator>
    <dc:date>2012-02-13T16:09:33Z</dc:date>
    <item>
      <title>How to configure Nuxeo with dynamic groups in OpenLDAP?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318187#M5188</link>
      <description>&lt;P&gt;I connected OpenLDAP to Nuxeo 5.5 but there's still one problem with the configuration. Users who belong to a dynamic group are not associated to them but are well associated to theirs static group.&lt;/P&gt;
&lt;P&gt;Configuration files:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;default-ldap-users-directory-bundle.xml&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;
   &lt;CODE class="xml"&gt;
      &lt;REFERENCES&gt;
        &lt;INVERSEREFERENCE field="groups" directory="groupLdapDirectory" dualreferencefield="members"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/CODE&gt;
&lt;/PRE&gt;
&lt;UL&gt;
&lt;LI&gt;default-ldap-groups-directory-bundle.xml&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;
&lt;CODE class="xml"&gt;
      &lt;REFERENCES&gt;
        &lt;LDAPREFERENCE field="members" directory="userLdapDirectory" staticattributeid="member" forcednconsistencycheck="false"&gt;&lt;/LDAPREFERENCE&gt;      
        &lt;LDAPREFERENCE field="subGroups" directory="groupLdapDirectory" forcednconsistencycheck="true" staticattributeid="member"&gt;&lt;/LDAPREFERENCE&gt;
        &lt;INVERSEREFERENCE field="parentGroups" directory="groupLdapDirectory" dualreferencefield="subGroups"&gt;&lt;/INVERSEREFERENCE&gt;
        &lt;LDAPTREEREFERENCE directory="groupLdapDirectory" field="children" scope="onelevel"&gt;&lt;/LDAPTREEREFERENCE&gt;
        &lt;INVERSEREFERENCE field="parents" directory="groupLdapDirectory" dualreferencefield="children"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
&lt;/CODE&gt;
&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Some precisions&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;Dynamic or static groups contains a '&lt;EM&gt;member&lt;/EM&gt;' attribute which is a list of string.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;member = [uid=idUser1,ou=users,dc=companyName,dc=com; uid=idUser2,ou=users,dc=companyName,dc=com; ...]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Users do not have '&lt;EM&gt;memberOf&lt;/EM&gt;' attribute.&lt;/P&gt;
&lt;P&gt;Dynamic groups are '&lt;EM&gt;objectClass = groupOfNames&lt;/EM&gt;', static groups are '&lt;EM&gt;objectClass = groupOfURLs&lt;/EM&gt;'.&lt;/P&gt;
&lt;P&gt;Thx for helps.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2012 10:55:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318187#M5188</guid>
      <dc:creator>Clément_Lardeur</dc:creator>
      <dc:date>2012-02-13T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Nuxeo with dynamic groups in OpenLDAP?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318188#M5189</link>
      <description>&lt;P&gt;The field for dynamic groups for &lt;CODE&gt;groupOfURLs&lt;/CODE&gt; generally &lt;CODE&gt;memberURL&lt;/CODE&gt;. In the tests folder of the source code you can find &lt;A href="https://github.com/nuxeo/nuxeo-services/blob/master/nuxeo-platform-directory/nuxeo-platform-directory-ldap/src/test/resources/TestDirectoriesWithExternalOpenLDAP.xml"&gt;an example of a configuration&lt;/A&gt; where both dynamic and static groups are revolved. There is also a &lt;A href="https://github.com/nuxeo/nuxeo-services/blob/master/nuxeo-platform-directory/nuxeo-platform-directory-ldap/src/test/resources/sample-dynamic-groups.ldif"&gt;sample groups definition&lt;/A&gt; to illustrate how those entries look like.&lt;/P&gt;
&lt;P&gt;The important lines are:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;ldapReference field="members" directory="userDirectory"
      staticAttributeId="uniqueMember" dynamicAttributeId="memberURL" /&amp;gt;

    &amp;lt;ldapReference field="subGroups" directory="groupDirectory"
      staticAttributeId="uniqueMember" dynamicAttributeId="memberURL" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Feb 2012 14:37:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318188#M5189</guid>
      <dc:creator>Olivier_Grisel</dc:creator>
      <dc:date>2012-02-13T14:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Nuxeo with dynamic groups in OpenLDAP?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318189#M5190</link>
      <description>&lt;P&gt;Thx this is it!!!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2012 16:09:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-configure-nuxeo-with-dynamic-groups-in-openldap/m-p/318189#M5190</guid>
      <dc:creator>Clément_Lardeur</dc:creator>
      <dc:date>2012-02-13T16:09:33Z</dc:date>
    </item>
  </channel>
</rss>

