From 795935aa62bd1d41cc4e2d2ddd36d0d2b4133a20 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Wed, 28 Aug 2013 15:49:07 +0000 Subject: [PATCH] add "default" option to LDAPReferrals, to allow "off" to really mean "off". Need compatibility tag/note if backported. Submitted By: Jan Kaluza & Eric Covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1518265 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_ldap.xml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/docs/manual/mod/mod_ldap.xml b/docs/manual/mod/mod_ldap.xml index bbc9f2db55a..764f853be44 100644 --- a/docs/manual/mod/mod_ldap.xml +++ b/docs/manual/mod/mod_ldap.xml @@ -510,19 +510,40 @@ valid LDAPReferrals Enable referral chasing during queries to the LDAP server. -LDAPReferrals On|Off +LDAPReferrals On|Off|default LDAPReferrals On directory.htaccess AuthConfig

Some LDAP servers divide their directory among multiple domains and use referrals - to direct a client when a domain boundary is crossed. By setting LDAPReferrals On - referrals will be chased (setting it to off causes referrals to be ignored). The directive - LDAPReferralHopLimit works in conjunction with this directive to limit the - number of referral hops to follow before terminating the LDAP query. When referral processing - is enabled client credentials will be provided, via a rebind callback, for any LDAP server - requiring them.

+ to direct a client when a domain boundary is crossed. This is similar to a HTTP redirect. + LDAP client libraries may or may not chase referrals by default. This directive + explicitly configures the referral chasing in the underlying SDK.

+ + +

LDAPReferrals takes the takes the following values: +

+
"on"
+

When set to "on", the underlying SDK's referral chasing state + is enabled, LDAPReferralHopLimit is used to + override the SDK's hop limit, and an LDAP rebind callback is + registered.

+
"off"
+

When set to "off", the underlying SDK's referral chasing state + is disabled completely.

+
"default"
+

When set to "default", the underlying SDK's referral chasing state + is not changed, LDAPReferralHopLimit is not + used to overide the SDK's hop limit, and no LDAP rebind callback is + registered.

+
+

+ +

The directive LDAPReferralHopLimit works in conjunction with + this directive to limit the number of referral hops to follow before terminating the LDAP query. + When referral processing is enabled by a value of "On", client credentials will be provided, + via a rebind callback, for any LDAP server requiring them.

-- 2.47.3