<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LDAP Nested Group Membership?]]></title><description><![CDATA[<p dir="auto">Would you please consider adding in nested group membership support for the LDAP Sync feature for Active Directory users?</p>
<p dir="auto">AD supports Rule OID 1.2.840.113556.1.4.1941 (LDAP_MATCHING_RULE_IN_CHAIN) which is <a href="https://docs.microsoft.com/en-us/windows/desktop/adsi/search-filter-syntax#operators" rel="nofollow ugc"><em>a special extended match operator that walks the chain of ancestry in objects all the way to the root until it finds a match</em></a> (Requires DN).</p>
<p dir="auto">We use it for our <em>LdapSearchFilter</em> already for importing users in nested groups, eg:</p>
<pre><code>(&amp;(objectCategory=person)(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=ACL-NetXMS-Users,OU=ACL,DC=example,DC=local))
</code></pre>
<p dir="auto">-but, of course, this filter alone does't help when it comes to user membership of imported groups. Maybe it could be configured as a flag in Server Configuration that changes the group membership behaviour? I think <a href="https://github.com/netxms/netxms/blob/stable-2.2/src/server/core/ldap.cpp#L713" rel="nofollow ugc">LDAPConnection::updateMembers</a> is responsible and would need to be changed?</p>
]]></description><link>https://forum.netxms.org/topic/5706/ldap-nested-group-membership</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:24:23 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5706.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Oct 2018 05:59:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP Nested Group Membership? on Wed, 10 Oct 2018 12:04:23 GMT]]></title><description><![CDATA[<p dir="auto">Fixed issue in nested group sync, mostly it was working before my change.<br />
Read again your request. We advice you so sync all intermediate groups. I have not found easy way to get all groups also nested in response under "member" attribute. Otherwise it is too big change.</p>
]]></description><link>https://forum.netxms.org/post/24894</link><guid isPermaLink="true">https://forum.netxms.org/post/24894</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Wed, 10 Oct 2018 12:04:23 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Nested Group Membership? on Fri, 05 Oct 2018 07:48:13 GMT]]></title><description><![CDATA[<p dir="auto">Currently NetXMS supports "Nested Group" functionality, so I'll just add the same for LDAP sync.</p>
]]></description><link>https://forum.netxms.org/post/24875</link><guid isPermaLink="true">https://forum.netxms.org/post/24875</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Fri, 05 Oct 2018 07:48:13 GMT</pubDate></item></channel></rss>