Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
6624f687
Commit
6624f687
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
fix braindead config option (mostly harmless)
parent
9962894c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man5/slapd.conf.5
+5
-5
5 additions, 5 deletions
doc/man/man5/slapd.conf.5
servers/slapd/limits.c
+3
-3
3 additions, 3 deletions
servers/slapd/limits.c
with
8 additions
and
8 deletions
doc/man/man5/slapd.conf.5
+
5
−
5
View file @
6624f687
...
...
@@ -1132,19 +1132,17 @@ of entries to be returned.
However, the size limit applies to the total count of entries returned within
the search, and not to a single page.
Additional size limits may be enforced; the syntax is
.BR size.pr={<integer>|noEstimate|
disabled|
none} ,
.BR size.pr={<integer>|noEstimate|none} ,
where
.B integer
is the max page size if no explicit limit is set; the keyword
.I noEstimate
inhibits the server to return an estimate of the total number
of entries that will be returned; the keyword
.I disabled
disables the control, i.e. no paged results can be returned; the keyword
.I none
indicates that no limit is applied to the pagedResults control page size.
The syntax
.B size.prtotal={<integer>|none}
.B size.prtotal={<integer>|none
|disabled
}
allows to set a limit on the total number of entries that a pagedResults
control allows to return.
By default it is set to the
...
...
@@ -1158,7 +1156,9 @@ Use
.B none
to allow unlimited number of entries to be returned, i.e. to use
pagedResults as a means to allow clients to circumvent size limitations
on regular searches.
on regular searches; the keyword
.I disabled
disables the control, i.e. no paged results can be returned.
Note that the total number of entries returned when the pagedResults control
is requested cannot exceed the
.B hard
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/limits.c
+
3
−
3
View file @
6624f687
...
...
@@ -809,9 +809,6 @@ limits_parse_one(
}
else
if
(
strcasecmp
(
arg
,
"none"
)
==
0
)
{
limit
->
lms_s_pr
=
-
1
;
}
else
if
(
strcasecmp
(
arg
,
"disabled"
)
==
0
)
{
limit
->
lms_s_pr_total
=
-
2
;
}
else
{
char
*
next
=
NULL
;
int
pr
=
strtol
(
arg
,
&
next
,
10
);
...
...
@@ -837,6 +834,9 @@ limits_parse_one(
if
(
strcasecmp
(
arg
,
"none"
)
==
0
)
{
limit
->
lms_s_pr_total
=
-
1
;
}
else
if
(
strcasecmp
(
arg
,
"disabled"
)
==
0
)
{
limit
->
lms_s_pr_total
=
-
2
;
}
else
if
(
strcasecmp
(
arg
,
"hard"
)
==
0
)
{
limit
->
lms_s_pr_total
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment