<?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>article How to configire  Maxpagesize in LDAP server to avoid a &amp;quot;The size limit was exceeded&amp;quot; or a &amp;quot;QVX_UNEXPECTED_END_OF_DATA&amp;quot; error message in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-configire-Maxpagesize-in-LDAP-server-to-avoid-a-quot-The/ta-p/1835014</link>
    <description>&lt;P&gt;A UDC don't work correctly. Users are not imported from LDAP because the task fails with a "&lt;FONT face="courier new,courier"&gt;The size limit was exceeded&lt;/FONT&gt;" or a "&lt;FONT face="courier new,courier"&gt;Error: QVX_UNEXPECTED_END_OF_DATA&lt;/FONT&gt;" message. This article report a step to fix the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Here is a step-by-step instruction for one possible way of configuring &lt;FONT face="courier new,courier"&gt;Maxpagesize&lt;/FONT&gt; in LDAP server. We recommend to involve the LDAP server admins to do this.&lt;BR /&gt;Notice that value of&lt;FONT face="courier new,courier"&gt; Maxpagesize&lt;/FONT&gt; needs to be equal to or greater than the total number of users.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In LDAP server, go to "Run" and type "ntdsutil.exe" or "ntdsutil".&lt;/LI&gt;
&lt;LI&gt;Command prompt will open up with ntdsutil tool active.&lt;/LI&gt;
&lt;LI&gt;Type "ldap policies" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "connections" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "Connect to server [Servername]" and hit enter (servername is localhost if you are performing this within the ldap server).&lt;/LI&gt;
&lt;LI&gt;Once you are successfully connected to server, type "q" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "Show values" and hit enter --&amp;gt; this will list all ldap policies and their values.&lt;/LI&gt;
&lt;LI&gt;To edit any of these policies, type "Set [PolicyName] to [NewValue]" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "commit changes" and hit enter.&lt;/LI&gt;
&lt;LI&gt;To verify your change is saved, type "Show values" again and hit enter.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This is how the commands will look like in the command prompt:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ntdsutil: ldap policies &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ldap policy: connections &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;server connections: Connect to server [Servername] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Binding to [Servername] ... &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connected to [Servername] using credentials of locally logged on user server &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;connections: q &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ldap policy: Show Values&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This problem occurs because the size of the returned LDAP objects exceeds page size setting for Global Catalog in LDAP server config.It is necessary that the LDAP server admin checks the value set in the LDAP server. That value needs to be equal to or greater than the total number of users. It also has to be in line with the corresponding UDC setting, meaning Page size. &lt;BR /&gt;In general, it is also very useful to add a correct LDAP filter QMC's UDC settings in order to limit the size of the returned objects .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;QB-4558, QB-2982, QLIK-98759&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 13:47:14 GMT</pubDate>
    <dc:creator>Andrea_Bertazzo</dc:creator>
    <dc:date>2021-09-09T13:47:14Z</dc:date>
    <item>
      <title>How to configire  Maxpagesize in LDAP server to avoid a "The size limit was exceeded" or a "QVX_UNEXPECTED_END_OF_DATA" error message</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-configire-Maxpagesize-in-LDAP-server-to-avoid-a-quot-The/ta-p/1835014</link>
      <description>&lt;P&gt;A UDC don't work correctly. Users are not imported from LDAP because the task fails with a "&lt;FONT face="courier new,courier"&gt;The size limit was exceeded&lt;/FONT&gt;" or a "&lt;FONT face="courier new,courier"&gt;Error: QVX_UNEXPECTED_END_OF_DATA&lt;/FONT&gt;" message. This article report a step to fix the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Here is a step-by-step instruction for one possible way of configuring &lt;FONT face="courier new,courier"&gt;Maxpagesize&lt;/FONT&gt; in LDAP server. We recommend to involve the LDAP server admins to do this.&lt;BR /&gt;Notice that value of&lt;FONT face="courier new,courier"&gt; Maxpagesize&lt;/FONT&gt; needs to be equal to or greater than the total number of users.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In LDAP server, go to "Run" and type "ntdsutil.exe" or "ntdsutil".&lt;/LI&gt;
&lt;LI&gt;Command prompt will open up with ntdsutil tool active.&lt;/LI&gt;
&lt;LI&gt;Type "ldap policies" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "connections" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "Connect to server [Servername]" and hit enter (servername is localhost if you are performing this within the ldap server).&lt;/LI&gt;
&lt;LI&gt;Once you are successfully connected to server, type "q" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "Show values" and hit enter --&amp;gt; this will list all ldap policies and their values.&lt;/LI&gt;
&lt;LI&gt;To edit any of these policies, type "Set [PolicyName] to [NewValue]" and hit enter.&lt;/LI&gt;
&lt;LI&gt;Type "commit changes" and hit enter.&lt;/LI&gt;
&lt;LI&gt;To verify your change is saved, type "Show values" again and hit enter.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This is how the commands will look like in the command prompt:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ntdsutil: ldap policies &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ldap policy: connections &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;server connections: Connect to server [Servername] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Binding to [Servername] ... &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connected to [Servername] using credentials of locally logged on user server &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;connections: q &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ldap policy: Show Values&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This problem occurs because the size of the returned LDAP objects exceeds page size setting for Global Catalog in LDAP server config.It is necessary that the LDAP server admin checks the value set in the LDAP server. That value needs to be equal to or greater than the total number of users. It also has to be in line with the corresponding UDC setting, meaning Page size. &lt;BR /&gt;In general, it is also very useful to add a correct LDAP filter QMC's UDC settings in order to limit the size of the returned objects .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;QB-4558, QB-2982, QLIK-98759&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-configire-Maxpagesize-in-LDAP-server-to-avoid-a-quot-The/ta-p/1835014</guid>
      <dc:creator>Andrea_Bertazzo</dc:creator>
      <dc:date>2021-09-09T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to configire  Maxpagesize in LDAP server to avoid a "The size limit was exceeded" or a "QVX_UNEXPECTED_END_OF_DATA" error</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-configire-Maxpagesize-in-LDAP-server-to-avoid-a-quot-The/tac-p/2153666#M10927</link>
      <description>&lt;P&gt;Seems there are interesting hardcoded values starting from Windows 2008 to take into consideration:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-US/troubleshoot/windows-server/identity/domain-controller-returns-500-values-ldap-response" target="_blank"&gt;https://learn.microsoft.com/en-US/troubleshoot/windows-server/identity/domain-controller-returns-500-values-ldap-response&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 17:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-configire-Maxpagesize-in-LDAP-server-to-avoid-a-quot-The/tac-p/2153666#M10927</guid>
      <dc:creator>Filippo_Nicolussi_P</dc:creator>
      <dc:date>2023-12-15T17:51:12Z</dc:date>
    </item>
  </channel>
</rss>

