<?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 Sync: Syncing only Group]]></title><description><![CDATA[<p dir="auto">Hello,<br />
   I've setup LDAP sync and it looks like NetXMS is able to connect and fetch data. While it seems to be able to read both group and it's members, it's creating only the group in NetXMS. Here's an excerpt from the debug log:</p>
<pre><code>[12-Jun-2015 15:14:05.178] [DEBUG] LDAPConnection::initLDAP(): Connecting to LDAP server
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): Found entry count: 1
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): Found dn: CN=Information Technology - Infrastructure Monitors,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): member: CN=a1,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): member: CN=a2,OU=Information Technology,OU=Staff,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): member: CN=a3,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): member: CN=a4,OU=Information Technology,OU=Staff,OU=xxx2,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::fillLists(): Group added: dn: CN=Information Technology - Infrastructure Monitors,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
[12-Jun-2015 15:14:05.354] [DEBUG] LDAPConnection::closeLDAPConnection(): Disconnect form LDAP server
[12-Jun-2015 15:14:05.355] [DEBUG] SyncGroupMembers(): Sync for group: CN=Information Technology - Infrastructure Monitors,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
[12-Jun-2015 15:14:05.355] [DEBUG] UpdateLDAPGroup(): Group added: dn: CN=Information Technology - Infrastructure Monitors,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany
</code></pre>
<p dir="auto">My LDAP settings are attached in a screenshot here.</p>
<p dir="auto">Any idea where I'm going wrong?</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000002322-netxms-ldap.png" alt="netxms-ldap.png" class="img-markdown  img-fluid" width="699" height="316" /></p>
]]></description><link>https://forum.netxms.org/topic/3817/ldap-sync-syncing-only-group</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:16:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3817.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Jun 2015 15:26:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP Sync: Syncing only Group on Mon, 15 Jun 2015 07:37:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">the you have to set search base to the top of the tree, and filter out non-IT users in LDAP search filter. Filter to include only users from IT OUs could look like following (not tested):</p>
<pre><code>(ou:dn:=Information Technology)
</code></pre>
<p dir="auto">I took the OU name from log posted earlier: "CN=a1,OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany".</p>
<p dir="auto">Here is more information on such filtering: <a href="http://help.globalscape.com/help/eft6/Advanced_LDAP_Filtering.htm" rel="nofollow ugc">http://help.globalscape.com/help/eft6/Advanced_LDAP_Filtering.htm</a>.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17065</link><guid isPermaLink="true">https://forum.netxms.org/post/17065</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 15 Jun 2015 07:37:54 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Sync: Syncing only Group on Mon, 15 Jun 2015 06:15:12 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much Victor. I was able to follow your example and pointing the search base to the OU did the trick. However, I'm running into another issue now. Here's how my org is structured:</p>
<pre><code>Org
|
|- Location A (OU)
|        |__ Staff
|                  |__ IT
|                  |__ Dept. A
|                  |__ Dept. B
|
|- Location B (OU)
|        |__ Staff
|                  |__ IT
|                  |__ Dept. A
|                  |__ Dept. B
</code></pre>
<p dir="auto">As you can see - our OU structure is mirrored across multiple locations. Right now, my LdapSearchFilter for NetXMS points to the IT OU &lt; Staff &lt; Location A. I want it to be able to pull data from IT OU under Location B as well. How do I achieve that?</p>
<p dir="auto">Thank you,<br />
Sourjya</p>
]]></description><link>https://forum.netxms.org/post/17064</link><guid isPermaLink="true">https://forum.netxms.org/post/17064</guid><dc:creator><![CDATA[user54890]]></dc:creator><pubDate>Mon, 15 Jun 2015 06:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Sync: Syncing only Group on Fri, 12 Jun 2015 17:02:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">problem is that you set search base to group object itself, so NetXMS reads only that group object (you can see hint on this in line "Found entry count: 1" - it means that only one matching object was found). You have to set search base to OU=Information Technology,OU=Staff,OU=xxx1,DC=mycompany. If you want to import only users that are member of that group, you should control it with LDAP search filter.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17060</link><guid isPermaLink="true">https://forum.netxms.org/post/17060</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 12 Jun 2015 17:02:29 GMT</pubDate></item></channel></rss>