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

Re: get all entries even if there is a limit





--On Monday, December 08, 2003 2:42 PM +0100 François Beretti <francois.beretti@enatel.com> wrote:

I would like to do a ldap_search in my c program. If the server is
configured not to return more than 100 entries (for example), how can I
do to avoid this limit ?

If your C program will be binding as a certain identity (DN), you can use the "limit" directive in slapd.conf to have no searchlimit for that particular DN by setting it to -1.


--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html