Re: sizelimit and ldapsearch

"Atif Ghaffar" <[email protected]> Thu, 22 Jun 2006 04:26:38 +0200
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
--===============0927575604==
Content-Type: multipart/alternative; 
	boundary="----=_Part_802_23147541.1150943198679"

------=_Part_802_23147541.1150943198679
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

ispman.ldifdump uses authentication with the server.
In your example you are not using authentication in your ldapsearch command.

try something like
ldapsearch -z 0 -x -LLL -D "your administrator DN" -w yourPass


On 6/22/06, Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> wrote:
>
> Hello,
> look at this funny behavior of slapd and ldapsearch vs. ispman.ldifdump;
>
> # ispman.ldifdump | wc -l
> 8175
> # ldapsearch -z 0 -x -LLL | wc -l
> Size limit exceeded (4)
> 4510
>
> The "-z 0" Paramter is for "unlimited result size", but there seems to
> be a server-side limit od slapd, too. I was able to get the full output
> via adding sizelimit to slapd.conf:
>
> # Global Directives:
> sizelimit 10000
>
> # /etc/init.d/slapd restart
> Stopping OpenLDAP: slapd.
> Starting OpenLDAP: running BDB recovery, slapd.
>
> And then:
> # ldapsearch -z 0 -x -LLL | wc -l
> 8082
>
> Any oppinions? I used ldapsearch as "backup util" (as well as slapcat ..
> just to be sure) .... but the sizelimit of 4500 lines or whatever can be
> easily reached. in out case with only about 60 domain on the machine.
>
> rgds,
> Andreas
>
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> _______________________________________________
> Ispman-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ispman-users
>



-- 
best regards
Atif Ghaffar

------=_Part_802_23147541.1150943198679
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

ispman.ldifdump uses authentication with the server.<br>In your example you are not using authentication in your ldapsearch command.<br><br>try something like<br>ldapsearch -z 0 -x -LLL -D &quot;your administrator DN&quot; -w yourPass
<br><br><br><div><span class="gmail_quote">On 6/22/06, <b class="gmail_sendername">Andreas John</b> &lt;<a href="mailto:lists-qqKX2RIXbnLLeiHq/[email protected]">lists-qqKX2RIXbnLLeiHq/[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>look at this funny behavior of slapd and ldapsearch vs. ispman.ldifdump;<br><br># ispman.ldifdump | wc -l<br>8175<br># ldapsearch -z 0 -x -LLL | wc -l<br>Size limit exceeded (4)<br>4510<br><br>The &quot;-z 0&quot; Paramter is for &quot;unlimited result size&quot;, but there seems to
<br>be a server-side limit od slapd, too. I was able to get the full output<br>via adding sizelimit to slapd.conf:<br><br># Global Directives:<br>sizelimit 10000<br><br># /etc/init.d/slapd restart<br>Stopping OpenLDAP: slapd.
<br>Starting OpenLDAP: running BDB recovery, slapd.<br><br>And then:<br># ldapsearch -z 0 -x -LLL | wc -l<br>8082<br><br>Any oppinions? I used ldapsearch as &quot;backup util&quot; (as well as slapcat ..<br>just to be sure) .... but the sizelimit of 4500 lines or whatever can be
<br>easily reached. in out case with only about 60 domain on the machine.<br><br>rgds,<br>Andreas<br><br>All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br>Fully trained technicians. The highest number of Red Hat certifications in
<br>the hosting industry. Fanatical Support. Click to learn more<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=107521&amp;bid=248729&amp;dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=107521&amp;bid=248729&amp;dat=121642
</a><br>_______________________________________________<br>Ispman-users mailing list<br><a href="mailto:[email protected]">[email protected]</a><br><a href="https://lists.sourceforge.net/lists/listinfo/ispman-users">
https://lists.sourceforge.net/lists/listinfo/ispman-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>best regards<br>Atif Ghaffar<br>

------=_Part_802_23147541.1150943198679--


--===============0927575604==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
--===============0927575604==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ispman-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ispman-users

--===============0927575604==--