<?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: LDAP, Active Directory, and Handling of Subgroups - Any Other Thoughts? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319117#M6118</link>
    <description>&lt;P&gt;It depends on what you call a "nested" subgroups. Can you please update you question by including a LDIF snippet giving a description of a 2 such nested subgroups as stored in your AD server and I will update my answer to tell you if changes are need on your configuration file to resolve them from nuxeo.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2011 17:06:57 GMT</pubDate>
    <dc:creator>Olivier_Grisel</dc:creator>
    <dc:date>2011-12-28T17:06:57Z</dc:date>
    <item>
      <title>LDAP, Active Directory, and Handling of Subgroups - Any Other Thoughts?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319116#M6117</link>
      <description>&lt;P&gt;Several years back I wanted to use Active Directory as a LDAP server for Nuxeo but I ran into issues using groups with subgroups. The issue, I believe, was that sub-groups would not resolve and so only single level groups could be used for access controls. In any case, my question is, from 5.4.2 onward are nested AD groups supported in Nuxeo? If yes, then what if anything is required to configure this (apart from the obvious contribution to enable group handing)?&lt;/P&gt;
&lt;P&gt;My group contribution looks as follows...LDIF snippets are added below the group contribution (Dec 28/2011).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component name="org.nuxeo.ecm.directory.ldap.storage.groups"&amp;gt;
&amp;lt;implementation class="org.nuxeo.ecm.directory.ldap.LDAPDirectoryDescriptor" /&amp;gt;
&amp;lt;implementation class="org.nuxeo.ecm.directory.ldap.LDAPServerDescriptor" /&amp;gt;
&amp;lt;require&amp;gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&amp;lt;/require&amp;gt;
&amp;lt;require&amp;gt;org.nuxeo.ecm.directory.ldap.storage.users&amp;lt;/require&amp;gt;

&amp;lt;extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&amp;gt;
	&amp;lt;directory name="groupLdapDirectory"&amp;gt;
		&amp;lt;!-- Reuse the default server configuration defined for userDirectory --&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=_MAILGROUPS,DC=test,DC=com&amp;lt;/searchBaseDn&amp;gt;
		&amp;lt;searchFilter&amp;gt;
			((objectClass=group))
		&amp;lt;/searchFilter&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;2000&amp;lt;/cacheMaxSize&amp;gt;
		&amp;lt;creationBaseDn&amp;gt;DC=test,DC=com&amp;lt;/creationBaseDn&amp;gt;
		&amp;lt;creationClass&amp;gt;top&amp;lt;/creationClass&amp;gt;
		&amp;lt;creationClass&amp;gt;group&amp;lt;/creationClass&amp;gt;
		&amp;lt;!-- Maximum number of entries returned by the search --&amp;gt;
		&amp;lt;querySizeLimit&amp;gt;500&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;sAMAccountName&amp;lt;/rdnAttribute&amp;gt;
		&amp;lt;fieldMapping name="groupname"&amp;gt;sAMAccountName&amp;lt;/fieldMapping&amp;gt;
		&amp;lt;references&amp;gt;
			&amp;lt;ldapReference field="members" directory="userLdapDirectory" 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;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;
&amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;=======
&lt;STRONG&gt;Snippet one - group contained in the 'all' group&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;dn: CN=grpUSA,OU=_MAILGROUPS,DC=test,DC=com
objectClass: top
objectClass: group
cn: grpUSA
member: CN=grpA,OU=_MAILGROUPS,DC=test,DC=com
member: CN=grpB,OU=_MAILGROUPS,DC=test,DC=com
member: CN=grpC,OU=_MAILGROUPS,DC=test,DC=com
distinguishedName: CN=grpUSA,OU=_MAILGROUPS,DC=test,DC=com
instanceType: 4
:
memberOf: CN=all,OU=_MAILGROUPS,DC=test,DC=com
name: grpUSA
:
sAMAccountName: grpUSA
sAMAccountType: 268435457
groupType: 2
objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=test,DC=com
:&lt;/P&gt;
&lt;P&gt;=======
&lt;STRONG&gt;Snippet two - group contained in the 'grpUSA' group above&lt;/STRONG&gt;
dn: CN=grpC,OU=_MAILGROUPS,DC=test,DC=com
objectClass: top
objectClass: group
cn: grpC
member: CN=Rocky,OU=_Retired Accounts,DC=test,DC=com
member: CN=Rustin,OU=Users,OU=_SEATTLE,DC=test,DC=com
member: CN=Larry,OU=Users,OU=_SEATTLE,DC=test,DC=com
member: CN=Delane,OU=Users,OU=_SEATTLE,DC=test,DC=com
member: CN=Karen,OU=Users,OU=_SEATTLE,DC=test,DC=com
member: CN=Alissa,OU=Users,OU=_SEATTLE,DC=test,DC=com
distinguishedName: CN=grpC,OU=_MAILGROUPS,DC=test,DC=com
instanceType: 4
:
memberOf: CN=grpUSA,OU=_MAILGROUPS,DC=test,DC=com
memberOf: CN=all,OU=_MAILGROUPS,DC=test,DC=com
name: grpC
:
sAMAccountName: grpC
sAMAccountType: 268435457
groupType: 2
objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=test,DC=com
:&lt;/P&gt;
&lt;P&gt;Anyone else running AD integration with nested groups for Access Control?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2011 15:04:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319116#M6117</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2011-12-22T15:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, Active Directory, and Handling of Subgroups - Any Other Thoughts?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319117#M6118</link>
      <description>&lt;P&gt;It depends on what you call a "nested" subgroups. Can you please update you question by including a LDIF snippet giving a description of a 2 such nested subgroups as stored in your AD server and I will update my answer to tell you if changes are need on your configuration file to resolve them from nuxeo.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2011 17:06:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319117#M6118</guid>
      <dc:creator>Olivier_Grisel</dc:creator>
      <dc:date>2011-12-28T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, Active Directory, and Handling of Subgroups - Any Other Thoughts?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319118#M6119</link>
      <description>&lt;P&gt;question updated!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2012 14:50:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-active-directory-and-handling-of-subgroups-any-other/m-p/319118#M6119</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-01-03T14:50:00Z</dc:date>
    </item>
  </channel>
</rss>

