Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Christopher Ng
OpenLDAP
Commits
7fc26274
Commit
7fc26274
authored
19 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Minor formatting tweaks
parent
d875ecb3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/man/man5/slapo-valsort.5
+17
-13
17 additions, 13 deletions
doc/man/man5/slapo-valsort.5
with
17 additions
and
13 deletions
doc/man/man5/slapo-valsort.5
+
17
−
13
View file @
7fc26274
...
...
@@ -16,15 +16,14 @@ numeric or alphanumeric sort methods. Additionally, a "weighted" sort can
be specified, which uses a numeric weight prepended to the attribute values.
The weighted sort is always performed in ascending order, but may be combined
with the other methods for values that all have equal weights. The weight
is specified by prepending an integer weight
.B {<weight>}
is specified by prepending an integer weight {<\fIweight\fP>}
in front of each value of the attribute for which weighted sorting is
desired. This weighting factor is stripped off and never returned in
search results.
.SH CONFIGURATION
These
.
B
slapd.conf
.
I
slapd.conf
options apply to the Value Sorting overlay.
They should appear after the
.B overlay
...
...
@@ -32,13 +31,13 @@ directive and before any subsequent
.B database
directive.
.TP
.B
valsort-attr <attribute
> <
baseDN> (<sort-method> | weighted [<sort-method>])
valsort-attr <
\fI
attribute
\fP> <\fI
baseDN
\fP
> (<
\fI
sort-method
\fP
> | weighted [<
\fI
sort-method
\fP
>])
Configure a sorting method for the specified
.
B
attribute
.
I
attribute
in the subtree rooted at
.
B
R baseDN .
.
I
R baseDN .
The
.
B
sort-method
.
I
sort-method
may be one of
.BR alpha-ascend ,
.BR alpha-descend ,
...
...
@@ -47,10 +46,15 @@ or
.BR numeric-descend .
If the special
.B weighted
method is specified, a secondary sort-method may also be specified. It is an
error to specify an alphanumeric sort-method for an attribute with Integer
or NumericString syntax, and it is an error to specify a numeric sort for
an attribute with a syntax other than Integer or NumericString.
method is specified, a secondary
.I sort-method
may also be specified. It is an
error to specify an alphanumeric
.I sort-method
for an attribute with Integer
or NumericString syntax, and it is an error to specify a numeric
.I sort-method
for an attribute with a syntax other than Integer or NumericString.
.SH EXAMPLES
.LP
.nf
...
...
@@ -63,8 +67,8 @@ an attribute with a syntax other than Integer or NumericString.
.SH FILES
.TP
ETCDIR/slapd.conf
default slapd configuration file
\fI
ETCDIR/slapd.conf
\fP
default
\fB
slapd
\fP
configuration file
.SH SEE ALSO
.BR slapd.conf (5).
.SH ACKNOWLEDGEMENTS
...
...
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