From: Bradley Nicholes
Date: Mon, 7 Feb 2005 19:08:58 +0000 (+0000)
Subject: Document the new optional parameter for AuthLDAPUrl
X-Git-Tag: 2.1.3~58
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c7b67c3a5ae6e8568d652f28ef22c939575bf94;p=apache
Document the new optional parameter for AuthLDAPUrl
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151743 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/CHANGES b/CHANGES
index 8224f78692..b19d2a4638 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,11 @@ Changes with Apache 2.1.3
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_authnz_ldap: Added an optional second parameter to AuthLDAPURL
+ to allow it to override the connection type set in mod_ldap. This
+ parameter can be set to NONE, SSL or TLS | STARTTLS.
+ [Brad Nicholes]
+
*) Fix --with-apr=/usr and/or --with-apr-util=/usr. PR 29740.
[Max Bowsher ]
diff --git a/docs/manual/mod/mod_authnz_ldap.xml b/docs/manual/mod/mod_authnz_ldap.xml
index c25f273f32..526de29f98 100644
--- a/docs/manual/mod/mod_authnz_ldap.xml
+++ b/docs/manual/mod/mod_authnz_ldap.xml
@@ -532,15 +532,23 @@ require valid-user
Using TLS
To use TLS, see the mod_ldap directives LDAPTrustedCA and LDAPTrustedCAType.
+ module="mod_ldap">LDAPTrustedClientCert, LDAPTrustedGlobalCert and LDAPTrustedMode.
+
+ An optional second parameter can be added to the
+ AuthLDAPURL to override
+ the default connection type set by LDAPTrustedMode.
+ This will allow the connection established by an ldap:// Url
+ to be upgraded to a secure connection on the same port.
Using SSL
To use SSL, see the mod_ldap directives LDAPTrustedCA and LDAPTrustedCAType.
+ module="mod_ldap">LDAPTrustedClientCert, LDAPTrustedGlobalCert and LDAPTrustedMode.
To specify a secure LDAP server, use ldaps:// in the
AuthLDAPURL
@@ -816,7 +824,7 @@ environment variable
AuthLDAPUrl
URL specifying the LDAP search parameters
-AuthLDAPUrl url
+AuthLDAPUrl url [NONE|SSL|TLS|STARTTLS]
directory.htaccess
AuthConfig
@@ -904,6 +912,22 @@ environment variable
Jenson, the resulting search filter will be
(&(posixid=*)(cn=Babs Jenson))
.
+ An optional parameter can be added to allow the LDAP Url to override
+ the connection type. This parameter can be one of the following:
+
+
+ - NONE
+ - Establish an unsecure connection on the default LDAP port. This
+ is the same as
ldap://
on port 389.
+ - SSL
+ - Establish a secure connection on the default secure LDAP port.
+ This is the same as
ldaps://
+ - TLS | STARTTLS
+ - Establish an upgraded secure connection on the default LDAP port.
+ This connection will be initiated on port 389 by default and then
+ upgraded to a secure connection on the same port.
+
+
See above for examples of AuthLDAPURL URLs.