[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: sizelimit in slapd ?
Its always good when u can answer your own question.
I solved the problem... as I suspected deep down, it was a bug in my
application. Although there were 500+ entries in LDAP, only 500 of them
contained valid data (according to my application)... So it was just
a co-incidence that i kept on getting 500 entries..
Sorry to cast doubt in anybodies mind about the functionality of sizelimit
in slapd.conf.
Humble apologies,
josh ;)
On Thu, 22 Nov 2001, joshua reich wrote:
?
?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