From: André Malo Date: Wed, 10 Nov 2004 19:46:14 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.0.53~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2ef8d6f4910a0bfb22d58f62b809ec53b96e65;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@105747 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_auth_ldap.html.en b/docs/manual/mod/mod_auth_ldap.html.en index 6c313531f4c..b93241ecc8f 100644 --- a/docs/manual/mod/mod_auth_ldap.html.en +++ b/docs/manual/mod/mod_auth_ldap.html.en @@ -106,6 +106,7 @@ for HTTP Basic authentication.
  • require user
  • require group
  • require dn
  • +
  • require ldap-attribute
  • @@ -220,6 +221,11 @@ for HTTP Basic authentication. the DN fetched from the LDAP directory (or the username passed by the client) occurs in the LDAP group. +
  • Grant access if there is a + require ldap-attribute + directive, and the attribute fetched from the LDAP directory + matches the given value.
  • +
  • otherwise, deny or decline access
  • @@ -351,6 +357,33 @@ uniqueMember: cn=Fred User, o=Airius

    Behavior of this directive is modified by the AuthLDAPCompareDNOnServer directive.

    + +

    require ldap-attribute

    + +

    The require ldap-attribute directive allows the + administrator to grant access based on attributes of the authenticated + user in the LDAP directory. If the attribute in the directory + matches the value given in the configuration, access is granted.

    + +

    The following directive would grant access to anyone with + the attribute employeeType = active

    + +

    require ldap-attribute employeeType=active

    + +

    Multiple attribute/value pairs can be specified on the same line + separated by spaces or they can be specified in multiple + require ldap-attribute directives. The effect of listing + multiple attribute/values pairs is an OR operation. Access will be + granted if any of the listed attribute values match the value of a + corresponding attribute in the user object. If the value of the + attribute contains a space, only the value must be within double quotes.

    + +

    The following directive would grant access to anyone with + the city attribute equal to "San Jose" or status equal to "Active"

    + +

    require ldap-attribute city="San Jose" status=active

    + +
    top

    Examples