[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: sizelimit in slapd ?



The sizelimit in the ldap.conf is read by the ldap libraries, not by the
client tools.  So if the program you're using is linked against the
openldap libraries, they will follow that config information.  I don't
remember what the search path is, but it it's probably something like
~/ldap.conf /usr/local/.../ldap.conf, etc..  truss or strace will show you
what it's attempting to do.

eric

On Thu, 22 Nov 2001, joshua reich wrote:

>
> actually, the sizelimit in ldap.conf is for the ldap client tools
> i was concerned with the server sizelimit, hence slapd.conf
>
> that one confused me for a while too
>
> On Thu, 22 Nov 2001, Fabrice Nouet wrote:
>
> ?sizelimit option has to be in ldap.conf file
> ?
> ?fabrie
> ?
> ?
> ?>From: joshua reich <josh@i2pi.com>
> ?>To: <openldap-software@OpenLDAP.org>
> ?>Subject: sizelimit in slapd ?
> ?>Date: Thu, 22 Nov 2001 12:03:55 +1100 (EST)
> ?>
> ?>
> ?>i have written an application that reads from OpenLDAP. However, I can
> ?>only seem to obtain a maximum of 500 entries from a call to ldap_search().
> ?>I have edited slapd.conf, and inserted a "sizelimit 8192" setting, and
> ?>restarted slapd.
> ?>This didn't help.
> ?>Im running OpenLDAP 2.0.11 on Solaris 8 (SPARC).
> ?>Running slapd -d 7, and requesting a search that should return 515
> ?>entries, returns only 500, with the final bit of the debug info being:
> ?>
> ?><= send_search_entry
> ?>entry_rdwr_runlock: ID: 51400
> ?>====> cache_return_entry_r( 51400 ): returned (0)
> ?>send_ldap_search_result 0::
> ?>send_ldap_response: msgid=4 tag=101 err=0
> ?>ber_flush: 14 bytes to sd 7
> ?>   0000:  30 0c 02 01 04 65 07 0a  01 00 04 00 04 00         0....e........
> ?>ldap_write: want=14, written=14
> ?>   0000:  30 0c 02 01 04 65 07 0a  01 00 04 00 04 00         0....e........
> ?>
> ?>
> ?>any clues ?
> ?>
> ?>--
> ?>joshua reich
> ?>i2pi.creative technology
> ?>Ph: +61 (0) 3 9415 9557
> ?>Mb: +61 (0) 408 355 788
> ?>
> ?
> ?
> ?_________________________________________________________________
> ?Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> ?
>
> --
> joshua reich
> i2pi.creative technology
> Ph: +61 (0) 3 9415 9557
> Mb: +61 (0) 408 355 788
>
>