<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>libldap-2.4-2: ldap.conf(5) manual page doesn't specify units of limit quantities</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Package: libldap-2.4-2<BR>
Version: 2.4.11-1<BR>
Severity: normal<BR>
<BR>
<BR>
The ldap.conf(5) manual page doesn't specify the units in the quantities<BR>
specified by configuration options as SIZELIMIT.<BR>
<BR>
For example, the text says:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZELIMIT &lt;integer&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specifies&nbsp; a&nbsp; size limit to use when performing searches.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The number should be a non-negative&nbsp; integer.&nbsp;&nbsp; SIZELIMIT<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of zero (0) specifies unlimited search size.<BR>
<BR>
Note how the text says nothing about _how_ the integer specifies a limit.<BR>
(It doesn't say whether the integer is a number of bytes, megabytes,<BR>
entries, attributes, or even something else.)<BR>
<BR>
<BR>
The TIMELIMIT documentation is similar:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIMELIMIT &lt;integer&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specifies&nbsp; a&nbsp; time limit to use when performing searches.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The number should be a non-negative&nbsp; integer.&nbsp;&nbsp; TIMELIMIT<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of&nbsp; zero&nbsp; (0) specifies unlimited search time to be used.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERSION {2|3} Specifies what version of the LDAP protocol<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should be used.<BR>
<BR>
(It doesn't specify whether the integer is the number of seconds--or<BR>
maybe milliseconds or something.)<BR>
<BR>
<BR>
In contrast, for a precedent to follow, notice how the documentation of<BR>
the TIMEOUT configuration option _does_ give the units (seconds):<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIMEOUT &lt;integer&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specifies&nbsp; a&nbsp; timeout&nbsp; (in&nbsp; seconds) after which calls to<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; synchronous LDAP&nbsp; APIs&nbsp; will&nbsp; abort&nbsp; if&nbsp; no&nbsp; response&nbsp; is<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; received.&nbsp; Also used for any ldap_result(3) calls where a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL timeout parameter is supplied.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-- System Information:<BR>
Debian Release: 5.0.1<BR>
&nbsp; APT prefers stable<BR>
&nbsp; APT policy: (500, 'stable')<BR>
Architecture: i386 (i686)<BR>
<BR>
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)<BR>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<BR>
Shell: /bin/sh linked to /bin/bash<BR>
<BR>
Versions of packages libldap-2.4-2 depends on:<BR>
ii&nbsp; libc6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.7-18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GNU C Library: Shared libraries<BR>
ii&nbsp; libgnutls26&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.4.2-6+lenny1&nbsp; the GNU TLS library - runtime libr<BR>
ii&nbsp; libsasl2-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.1.22.dfsg1-23 Cyrus SASL - authentication abstra<BR>
<BR>
libldap-2.4-2 recommends no packages.<BR>
<BR>
libldap-2.4-2 suggests no packages.<BR>
<BR>
-- no debconf information<BR>
</FONT>
</P>

</BODY>
</HTML>