<?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 using wrong fields?]]></title><description><![CDATA[<p dir="auto">Hello all,<br />
I am trying to setup LDAP sync with MS Active Directory but users and groups are not being added.</p>
<p dir="auto">My configuration:<br />
Name	Value<br />
LdapConnectionString	ldaps://####.net<br />
LdapGroupClass	group<br />
LdapGroupMappingName	samAccountName<br />
LdapGroupUniqueId	objectGUID<br />
LdapMappingDescription	description<br />
LdapMappingFullName	name<br />
LdapPageSize	1000<br />
LdapSearchBase	DC=####,DC=NET<br />
LdapSearchFilter	(objectClass=*)<br />
LdapSyncInterval	0<br />
LdapSyncUser	CN=####,OU=Admin,DC=####,DC=net<br />
LdapSyncUserPassword	####<br />
LdapUserClass	user<br />
LdapUserDeleteAction	Disable user<br />
LdapUserMappingName	samAccountName<br />
LdapUserUniqueId	objectGUID</p>
<p dir="auto">Log shows:</p>
<p dir="auto">2019.09.16 20:45:55.478 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:56.244 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:58.371 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:58.386 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:59.246 *D* LDAPConnection::fillLists(): Found dn: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:59.246 *D* LDAPConnection::fillLists(): Unknown object is not added: dn: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net, login name: (null), full name: TimSim01, description: TimothySimmons undefined<br />
2019.09.16 20:45:59.277 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:59.277 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:59.386 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:45:59.386 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:46:00.121 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net<br />
2019.09.16 20:46:00.761 *D* LDAPConnection::fillLists(): member: CN=TimSim01,OU=PRJ_Employees,OU=Users,OU=PRJ,OU=GIT,OU=KGR,DC=####,DC=net</p>
<p dir="auto">It almost looks like the values aren't being assigned to the right fields (off by 1?) and as such, no new users or groups are getting added.<br />
It's also not turning up any users with '-'s in their name in the log, and all of the users we would want end in -admtx. I'm not sure if that's a real problem or not through because I can't get the user database to populate. Thanks for any help you can give!</p>
]]></description><link>https://forum.netxms.org/topic/6169/ldap-sync-using-wrong-fields</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:51:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6169.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Sep 2019 19:08:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP sync using wrong fields? on Sun, 08 Dec 2019 12:15:05 GMT]]></title><description><![CDATA[<p dir="auto">Created issue: <a href="https://track.radensolutions.com/issue/NX-1725" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1725</a></p>
]]></description><link>https://forum.netxms.org/post/27099</link><guid isPermaLink="true">https://forum.netxms.org/post/27099</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Sun, 08 Dec 2019 12:15:05 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP sync using wrong fields? on Fri, 06 Dec 2019 18:36:36 GMT]]></title><description><![CDATA[<p dir="auto">I know this is old, but today we just solved this one. It turns out that the LdapUserMappingName configuration field is case sensitive - I had samAccountName populated there, but in AD the attribute is written as sAMAccountName. When I put this in instead, the sync worked. Many thanks to Tatjana for her help in this!</p>
]]></description><link>https://forum.netxms.org/post/27066</link><guid isPermaLink="true">https://forum.netxms.org/post/27066</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Fri, 06 Dec 2019 18:36:36 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP sync using wrong fields? on Tue, 29 Oct 2019 14:18:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">we just published server version 3.0.2355 - it has additional LDAP related debug output that can help in debugging.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/26840</link><guid isPermaLink="true">https://forum.netxms.org/post/26840</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 29 Oct 2019 14:18:39 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP sync using wrong fields? on Tue, 17 Sep 2019 10:47:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you please send the full log of the synchronization? You can send it as a private message if you want.<br />
Your current configuration looks good.</p>
]]></description><link>https://forum.netxms.org/post/26557</link><guid isPermaLink="true">https://forum.netxms.org/post/26557</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Tue, 17 Sep 2019 10:47:42 GMT</pubDate></item></channel></rss>