Issue 8159 - Missing parameter in the Configuration man page
Summary: Missing parameter in the Configuration man page
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: 2.4.40
Hardware: All All
: --- normal
Target Milestone: 2.5.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-01 08:23 UTC by elecharny@openldap.org
Modified: 2020-10-14 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description elecharny@openldap.org 2015-06-01 08:23:26 UTC
Full_Name: Emmanuel Lecharny
Version: 2.4.40
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.195.127.200)


There is a missing parameter description in the slapd-config man page, on the
olcSizeLimit parameter.

The doc says :

    "The syntax size.prtotal={<integer>|unlimited|disabled}..."

when the code is also checking for an 'hard' value :

			} else if ( STRSTART( arg, "prtotal=" ) ) {
				arg += STRLENOF( "prtotal=" );
                                ...
				} else if ( strcasecmp( arg, "hard" ) == 0 ) {
					limit->lms_s_pr_total = 0;

Comment 1 Quanah Gibson-Mount 2020-08-31 23:48:45 UTC
So if the argument is "hard", then the code will use the "hard" limit set to the general "sizelimit" parameter.
Comment 3 Quanah Gibson-Mount 2020-09-01 20:40:40 UTC
Commits: 
  • e749750a 
by Quanah Gibson-Mount at 2020-09-01T19:40:36+00:00 
ITS#8159 - Add missing "hard" parameter to size.prtotal