<?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, centos6, x64, LDAP could not get search results, ...]]></title><description><![CDATA[<p dir="auto">Environment:</p>
<p dir="auto">-----------------------------------<br />
os: CentOS release 6.7 (Final)<br />
arch: x86_64<br />
netxms: netxms-2.0-RC2<br />
openldap: 2.4.40-6.el6_7<br />
-----------------------------------</p>
<p dir="auto">Ldap server:<br />
-----------------------------------<br />
MS AD<br />
ldap policy: Show Values</p>
<p dir="auto">Policy                          Current(New)</p>
<p dir="auto">MaxPoolThreads        4<br />
MaxDatagramRecv     4096<br />
MaxReceiveBuffer      10485760<br />
InitRecvTimeout        120<br />
MaxConnections         5000<br />
MaxConnIdleTime      900<br />
MaxPageSize             20000<br />
MaxQueryDuration     120<br />
MaxTempTableSize    10000<br />
MaxResultSetSize      262144<br />
MinResultSets                0<br />
MaxResultSetsPerConn    0<br />
MaxNotificationPerConn   5<br />
MaxValRange                 25000<br />
ThreadMemoryLimit        0<br />
SystemMemoryLimitPercent 0<br />
-----------------------------------</p>
<p dir="auto">-----------------------------------<br />
netxmsd: debug 4<br />
netxmsd: ldapsync</p>
<p dir="auto">returns:<br />
[DEBUG] LDAPConnection::initLDAP(): Connecting to LDAP server<br />
[DEBUG] LDAPConnection::syncUsers(): LDAP could not get search results. Error code: Operations error<br />
[DEBUG] LDAPConnection::closeLDAPConnection(): Disconnect form LDAP server<br />
-----------------------------------</p>
<p dir="auto">Query using command line ldapsearch works on server running netxmsd.</p>
<p dir="auto">TcpDump shows:<br />
-----------------------------------</p>
<ol>
<li>bind was successful</li>
<li>search filter works and was applied correctly</li>
<li>search results were returned<br />
-----------------------------------</li>
</ol>
<p dir="auto">tried:</p>
<ul>
<li>TLS (on/off) same results</li>
<li>removal of all special characters on all places (password/bind user/ldap path)</li>
<li>filter on/off</li>
<li>...<br />
 </li>
</ul>
<p dir="auto">thank you for your help,</p>
<p dir="auto">Br, Ales</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000002548-image_20151020-9.png" alt="image_20151020-9.png" class="img-markdown  img-fluid" width="1514" height="834" /></p>
]]></description><link>https://forum.netxms.org/topic/4049/ldap-centos6-x64-ldap-could-not-get-search-results-...</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:22:28 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4049.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Oct 2015 09:55:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP, centos6, x64, LDAP could not get search results, ... on Wed, 06 Jan 2016 12:56:50 GMT]]></title><description><![CDATA[<p dir="auto">Solved in v2.0.0.</p>
<p dir="auto">Br, Ales</p>
]]></description><link>https://forum.netxms.org/post/18773</link><guid isPermaLink="true">https://forum.netxms.org/post/18773</guid><dc:creator><![CDATA[sodalist]]></dc:creator><pubDate>Wed, 06 Jan 2016 12:56:50 GMT</pubDate></item></channel></rss>