From: Pierangelo Masarati Date: Thu, 6 Sep 2007 20:21:41 +0000 (+0000) Subject: Added max-depth/return-error to slapo-chain(5) X-Git-Tag: OPENLDAP_REL_ENG_2_3_39~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362ae208cede2a23cb6d47d721bdd1327a21bb03;p=thirdparty%2Fopenldap.git Added max-depth/return-error to slapo-chain(5) --- diff --git a/CHANGES b/CHANGES index 6df7a3cf3c..32790775ed 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ OpenLDAP 2.3.39 Engineering Fixed libldap ppolicy control creation (ITS#5103) Documentation Added slapd-sql empty oc mapping workaround (ITS#4785) + Added max-depth/return-error to slapo-chain(5) Fixed Admin Guide URL in README (ITS#5107) OpenLDAP 2.3.38 Release (2007/08/20) diff --git a/doc/man/man5/slapo-chain.5 b/doc/man/man5/slapo-chain.5 index 264655edd9..0271524260 100644 --- a/doc/man/man5/slapo-chain.5 +++ b/doc/man/man5/slapo-chain.5 @@ -53,6 +53,14 @@ feature. [Note: this may change in the future, as the \fBldap\fP(5) and \fBmeta\fP(5) backends might no longer chase referrals on their own.] .TP +.B chain-cache-uri {FALSE|true} +This directive instructs the \fIchain\fP overlay to cache +connections to URIs parsed out of referrals that are not predefined, +to be reused for later chaining. +These URIs inherit the properties configured for the underlying +\fBslapd-ldap\fP(5) before any occurrence of the \fBchain-uri\fP +directive; basically, they are chained anonymously. +.TP .B chain-chaining [resolve=] [continuation=] [critical] This directive enables the \fIchaining\fP control (see \fIdraft-sermersheim-ldap-chaining\fP for details) @@ -71,13 +79,18 @@ The values \fBr\fP and \fBc\fP can be any of If the \fBcritical\fP flag affects the control criticality if provided. [This control is experimental and its support may change in the future.] .TP -.B chain-cache-uri {FALSE|true} -This directive instructs the \fIchain\fP overlay to cache -connections to URIs parsed out of referrals that are not predefined, -to be reused for later chaining. -These URIs inherit the properties configured for the underlying -\fBslapd-ldap\fP(5) before any occurrence of the \fBchain-uri\fP -directive; in detail, they are essentially chained anonymously. +.B chain-max-depth +In case a referral is returned during referral chasing, further chasing +occurs at most \fB\fP levels deep. Set to \fB1\fP (the default) +to disable further referral chasing. +.TP +.B chain-return-error {FALSE|true} +In case referral chasing fails, the real error is returned instead +of the original referral. In case multiple referral URIs are present, +only the first error is returned. This behavior may not be always +appropriate nor desirable, since failures in referral chasing might be +better resolved by the client (e.g. when caused by distributed +authentication issues). .TP .B chain-uri This directive instantiates a new underlying \fIldap\fP database