<?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 Trouble with ldap dynamic groups in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/trouble-with-ldap-dynamic-groups/m-p/323454#M10455</link>
    <description>&lt;P&gt;Hi all ,
We still use Nuxeo 5.6 connected to a ldap. Ldap manage users and groups (static and dynamic groups). Everything works as expected. We try to upgrade to the latest Nuxeo platform version LTS 7.10.
I upgraded our 5.6 installation to 5.8 then 6.0, following the excellent Nuxeo documentation. Everything worked as expected.&lt;/P&gt;
&lt;P&gt;Our problems started upgrading 6.0 version to 7.10. Once the upgrade done (still folowing the documentation), it was just impossible to log in the platform (https://answers.nuxeo.com/general/q/f9dec9b209044181a59831014f6aefa3/Nuxeo-7-10-ldap-authentication ). I managed to to log in modifying  the  default-ldap-users-directory-bundle.xml file but I never succeded to see statics or dynamics groups once connected. In addition, I encountered somme problems with permissions on folders or files.&lt;/P&gt;
&lt;P&gt;Installing the 8.x version and using the default-ldap-users-directory-bundle.xml that never worked with the 7.10 (same as documentation provided by nuxeo), things restarted working again : log in, users permissions, and statics groups, partialy  dynamic groups. But still a problem: I am able to see these dynamics groups as well as users of these groups, but not the reverse  :  the groups they belong to are not displayed excepted groups built using the filter username field mapping name. In my case :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;rdnAttribute&amp;gt;cn&amp;lt;/rdnAttribute&amp;gt;
      &amp;lt;fieldMapping name="username"&amp;gt;mail&amp;lt;/fieldMapping&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Dynamic group ldap memberURL value  : ldap:///ou=XXXX,ou=people,dc=yyy,dc=fr?cn?sub?(mail=*)
All groups built on this model are displayed.
All others are not,  for example  (not working): ldap:///ou=XXX,ou=people,dc=yyy,dc=fr??sub?(supannCondition= myCondition)&lt;/P&gt;
&lt;P&gt;Logs :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2016-06-22 09:21:31,640 DEBUG [ajp-bio-0.0.0.0-8009-exec-10] [org.nuxeo.ecm.directory.ldap.LDAPReference] LDAPReference.getSourceIdsForTarget(my.user@organisation.fr): LDAP search search base='ou=groupes-dynamiques,ou=Applications,dc=institution,dc=fr' filter='(&amp;amp;(member={0})(&amp;amp;(&amp;amp;(|(objectClass=groupOfNames)(objectClass=groupOfURLs)))(cn=*)))' args='cn=My User,ou=organization,ou=people,dc=institution,dc=fr' scope='2' [LDAPReference to resolve field='members' of sourceDirectory='ldapGroupDirectory' with targetDirectory='ldapUserDirectory' and staticAttributeId='member', dynamicAttributeId='memberURL'].
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To sum up :
LDAP dynamic groups stopped working after 6.0 version. Is Nuxeo waiting now a ldap configuration we don't have (we use dynlit contribution ) ? In this case, do you have recommendations to make LDAP-Nuxeo fully functionnal ?
Or is there a way to specify other kinds of filters in our xml file configuration , and in this case , how ?&lt;/P&gt;
&lt;P&gt;Thanks a lot for your answers,&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Vincent&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2016 09:57:02 GMT</pubDate>
    <dc:creator>vicent</dc:creator>
    <dc:date>2016-06-22T09:57:02Z</dc:date>
    <item>
      <title>Trouble with ldap dynamic groups</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/trouble-with-ldap-dynamic-groups/m-p/323454#M10455</link>
      <description>&lt;P&gt;Hi all ,
We still use Nuxeo 5.6 connected to a ldap. Ldap manage users and groups (static and dynamic groups). Everything works as expected. We try to upgrade to the latest Nuxeo platform version LTS 7.10.
I upgraded our 5.6 installation to 5.8 then 6.0, following the excellent Nuxeo documentation. Everything worked as expected.&lt;/P&gt;
&lt;P&gt;Our problems started upgrading 6.0 version to 7.10. Once the upgrade done (still folowing the documentation), it was just impossible to log in the platform (https://answers.nuxeo.com/general/q/f9dec9b209044181a59831014f6aefa3/Nuxeo-7-10-ldap-authentication ). I managed to to log in modifying  the  default-ldap-users-directory-bundle.xml file but I never succeded to see statics or dynamics groups once connected. In addition, I encountered somme problems with permissions on folders or files.&lt;/P&gt;
&lt;P&gt;Installing the 8.x version and using the default-ldap-users-directory-bundle.xml that never worked with the 7.10 (same as documentation provided by nuxeo), things restarted working again : log in, users permissions, and statics groups, partialy  dynamic groups. But still a problem: I am able to see these dynamics groups as well as users of these groups, but not the reverse  :  the groups they belong to are not displayed excepted groups built using the filter username field mapping name. In my case :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;rdnAttribute&amp;gt;cn&amp;lt;/rdnAttribute&amp;gt;
      &amp;lt;fieldMapping name="username"&amp;gt;mail&amp;lt;/fieldMapping&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Dynamic group ldap memberURL value  : ldap:///ou=XXXX,ou=people,dc=yyy,dc=fr?cn?sub?(mail=*)
All groups built on this model are displayed.
All others are not,  for example  (not working): ldap:///ou=XXX,ou=people,dc=yyy,dc=fr??sub?(supannCondition= myCondition)&lt;/P&gt;
&lt;P&gt;Logs :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2016-06-22 09:21:31,640 DEBUG [ajp-bio-0.0.0.0-8009-exec-10] [org.nuxeo.ecm.directory.ldap.LDAPReference] LDAPReference.getSourceIdsForTarget(my.user@organisation.fr): LDAP search search base='ou=groupes-dynamiques,ou=Applications,dc=institution,dc=fr' filter='(&amp;amp;(member={0})(&amp;amp;(&amp;amp;(|(objectClass=groupOfNames)(objectClass=groupOfURLs)))(cn=*)))' args='cn=My User,ou=organization,ou=people,dc=institution,dc=fr' scope='2' [LDAPReference to resolve field='members' of sourceDirectory='ldapGroupDirectory' with targetDirectory='ldapUserDirectory' and staticAttributeId='member', dynamicAttributeId='memberURL'].
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To sum up :
LDAP dynamic groups stopped working after 6.0 version. Is Nuxeo waiting now a ldap configuration we don't have (we use dynlit contribution ) ? In this case, do you have recommendations to make LDAP-Nuxeo fully functionnal ?
Or is there a way to specify other kinds of filters in our xml file configuration , and in this case , how ?&lt;/P&gt;
&lt;P&gt;Thanks a lot for your answers,&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 09:57:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/trouble-with-ldap-dynamic-groups/m-p/323454#M10455</guid>
      <dc:creator>vicent</dc:creator>
      <dc:date>2016-06-22T09:57:02Z</dc:date>
    </item>
  </channel>
</rss>

