SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from StartCom 5 openldap-servers-overlays-2.3.43-12.SEL5_5.i386.rpm

SLAPO-VALSORT

Section: File Formats (5)
Updated: 2008/07/16
Index 

NAME

slapo-valsort - Value Sorting overlay 

SYNOPSIS

/etc/openldap/slapd.conf 

DESCRIPTION

The Value Sorting overlay can be used with a backend database to sort thevalues of specific multi-valued attributes within a subtree. The sortingoccurs whenever the attributes are returned in a search response.

Sorting can be specified in ascending or descending order, using eithernumeric or alphanumeric sort methods. Additionally, a "weighted" sort canbe specified, which uses a numeric weight prepended to the attribute values.The weighted sort is always performed in ascending order, but may be combinedwith the other methods for values that all have equal weights. The weightis specified by prepending an integer weight {<weight>}in front of each value of the attribute for which weighted sorting isdesired. This weighting factor is stripped off and never returned insearch results.

 

CONFIGURATION

Theseslapd.confoptions apply to the Value Sorting overlay.They should appear after theoverlaydirective.
valsort-attr <attribute> <baseDN> (<sort-method> | weighted [<sort-method>])
Configure a sorting method for the specifiedattributein the subtree rooted atbaseDN.The sort-methodmay be one ofalpha-ascend,alpha-descend,numeric-ascend,ornumeric-descend.If the specialweightedmethod is specified, a secondarysort-methodmay also be specified. It is anerror to specify an alphanumericsort-methodfor an attribute with Integeror NumericString syntax, and it is an error to specify a numericsort-methodfor an attribute with a syntax other than Integer or NumericString.
 

EXAMPLES

        database bdb        suffix dc=example,dc=com        ...        overlay valsort        valsort-attr member ou=groups,dc=example,dc=com alpha-ascend

 

FILES

/etc/openldap/slapd.conf
default slapd configuration file
 

SEE ALSO

slapd.conf(5). 

ACKNOWLEDGEMENTS

This module was written in 2005 by Howard Chu of Symas Corporation. Thework was sponsored by Stanford University.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIGURATION
EXAMPLES
FILES
SEE ALSO
ACKNOWLEDGEMENTS

This document was created byman2html,using the manual pages.