серверная часть SQL для slapd (SQL backend to slapd)
SCOPING CONFIGURATION
These options specify SQL query templates for scoping searches.
subtree_cond <SQL expression>
Specifies a where-clause template used to form a subtree
search condition (dn="(.+,)?<dn>$"). It may differ from
one SQL dialect to another (see samples). By default, it
is constructed based on the knowledge about how to
normalize DN values (e.g. "<upper_func>(ldap_entries.dn)
LIKE CONCAT('%',?)"
); see upper_func
, upper_needs_cast
,
concat_pattern
and strcast_func
in "HELPER CONFIGURATION"
for details.
children_cond <SQL expression>
Specifies a where-clause template used to form a children
search condition (dn=".+,<dn>$"). It may differ from one
SQL dialect to another (see samples). By default, it is
constructed based on the knowledge about how to normalize
DN values (e.g. "<upper_func>(ldap_entries.dn) LIKE
CONCAT('%,',?)"
); see upper_func
, upper_needs_cast
,
concat_pattern
and strcast_func
in "HELPER CONFIGURATION"
for details.
use_subtree_shortcut { YES | no }
Do not use the subtree condition when the searchBase is
the database suffix, and the scope is subtree; rather
collect all entries.