From 1727457dd34f066aeecc71cabbab0ef7f59e0a56 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sat, 29 May 2010 22:49:17 +0000 Subject: [PATCH] emphasize that trying to use the basic auth credentials directly is a last resort. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949444 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_authnz_ldap.html.en | 10 ++++++++++ docs/manual/mod/mod_authnz_ldap.xml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/manual/mod/mod_authnz_ldap.html.en b/docs/manual/mod/mod_authnz_ldap.html.en index e4d8fe88bc..831f8536ab 100644 --- a/docs/manual/mod/mod_authnz_ldap.html.en +++ b/docs/manual/mod/mod_authnz_ldap.html.en @@ -975,6 +975,11 @@ own username, instead of anonymously or with hard-coded credentials for the serv

If the verbatim username can't directly bind, but needs some cosmetic transformation, see AuthLDAPInitialBindPattern.

+ +

This directive should only be used when your LDAP server doesn't + accept anonymous searches and you cannot use a dedicated + AuthLDAPBindDN. +

Not available with authorization-only

This directive can only be used if this module authenticates the user, and @@ -1007,6 +1012,11 @@ to perform a DN lookup

The regular expression argument is compared against the current basic authentication username. The substitution argument may contain backreferences, but has no other variable interpolation.

+

This directive should only be used when your LDAP server doesn't + accept anonymous searches and you cannot use a dedicated + AuthLDAPBindDN. +

+

AuthLDAPInitialBindPattern (.+) $1@example.com

AuthLDAPInitialBindPattern (.+) cn=$1,dc=example,dc=com

diff --git a/docs/manual/mod/mod_authnz_ldap.xml b/docs/manual/mod/mod_authnz_ldap.xml index 430cbb2367..281c0f41f0 100644 --- a/docs/manual/mod/mod_authnz_ldap.xml +++ b/docs/manual/mod/mod_authnz_ldap.xml @@ -824,6 +824,11 @@ own username, instead of anonymously or with hard-coded credentials for the serv

If the verbatim username can't directly bind, but needs some cosmetic transformation, see AuthLDAPInitialBindPattern.

+ +

This directive should only be used when your LDAP server doesn't + accept anonymous searches and you cannot use a dedicated + AuthLDAPBindDN. +

Not available with authorization-only This directive can only be used if this module authenticates the user, and @@ -852,6 +857,11 @@ to perform a DN lookup

The regular expression argument is compared against the current basic authentication username. The substitution argument may contain backreferences, but has no other variable interpolation.

+

This directive should only be used when your LDAP server doesn't + accept anonymous searches and you cannot use a dedicated + AuthLDAPBindDN. +

+ AuthLDAPInitialBindPattern (.+) $1@example.com AuthLDAPInitialBindPattern (.+) cn=$1,dc=example,dc=com -- 2.40.0