[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/clients/tools ldapsearch.c
- To: kurt@OpenLDAP.org
- Subject: Re: commit: ldap/clients/tools ldapsearch.c
- From: "Pierangelo Masarati" <ando@sys-net.it>
- Date: Fri, 18 Jun 2004 09:09:49 +0200 (CEST)
- Cc: "OpenLDAP Commit" <openldap-commit2devel@OpenLDAP.org>
- Importance: Normal
- In-reply-to: <200406180518.i5I5IRJ9005855@cantor.openldap.org>
- References: <200406180518.i5I5IRJ9005855@cantor.openldap.org>
- User-agent: SquirrelMail/1.4.3a-1
> Log Message:
> Fix a limit typo
> Use 0 not maxint when 'none' is selected.
Kurt,
this was intended as a means to provide a helper to hit the hard instead
of the soft limits. See ITS#3136 for a background. In fact, if one sets
size.soft=100 size,hard=unlimited, then, to hit the unlimited case one
needs to require a size limit. There is no notion of unlimited size in
the client library, nor in the protocol, so my idea was to use the max
integer allowed by the protocol, and add a shortcut string in ldapsearch
-z, -l to hit this value. Maybe a different keyword would be better, e.g.
"unlimited". Otherwise one has to manually specify the largest value atoi
(now strtol) can accept.
Comments?
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497