NAME
slapo-valsort - Value Sorting overlay
SYNOPSIS
/etc/openldap/slapd.confDESCRIPTION
The Value Sorting overlay can be used with a backend database to sortthe values of specific multi-valued attributes within a subtree. The
sorting occurs whenever the attributes are returned in a search response. Sorting can be specified in ascending or descending order, using either 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 {} 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. CCOONNFFIIGGUURRAATTIIOONN These slapd.conf options apply to the Value Sorting overlay. They should appear after the oovveerrllaayy directive. valsort-attr
( | weighted [ method>]) Configure a sorting method for the specified attribute in the subtree rooted at baseDN. The sort-method may be one of aallpphhaa-
aasscceenndd, aallpphhaa-ddeesscceenndd, nnuummeerriicc-aasscceenndd, or nnuummeerriicc-ddeesscceenndd. If
the special wweeiigghhtteedd method is specified, a secondary sort-
method may also be specified. It is an error to specify analphanumeric sort-method for an attribute with Integer or Numer-
icString syntax, and it is an error to specify a numeric sort-
method for an attribute with a syntax other than Integer or NumericString. EEXXAAMMPPLLEESS database bdb suffix dc=example,dc=com ... overlay valsortvalsort-attr member ou=groups,dc=example,dc=com alpha-ascend
FILES /etc/openldap/slapd.conf default ssllaappdd configuration fileSEE ALSO
ssllaappdd..ccoonnff(5). AACCKKNNOOWWLLEEDDGGEEMMEENNTTSS This module was written in 2005 by Howard Chu of Symas Corporation. The work was sponsored by Stanford University.OpenLDAP 2.3.27 2006/08/19 SLAPO-VALSORT(5)