From: André Malo Date: Fri, 5 Nov 2004 19:04:16 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.1.1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11488c7ee2b57333141bf7cc01cff7f57d9251d2;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105696 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_authnz_ldap.html.en b/docs/manual/mod/mod_authnz_ldap.html.en index f9f9405e7af..212ac2157ae 100644 --- a/docs/manual/mod/mod_authnz_ldap.html.en +++ b/docs/manual/mod/mod_authnz_ldap.html.en @@ -112,6 +112,7 @@ for HTTP Basic authentication.
  • require ldap-group
  • require ldap-dn
  • require ldap-attribute
  • +
  • require ldap-filter
  • @@ -236,6 +237,11 @@ for HTTP Basic authentication. directive, and the attribute fetched from the LDAP directory matches the given value. +
  • Grant access if there is a + require ldap-filter + directive, and the search filter successfully finds a single user + object that matches the dn of the authenticated user.
  • +
  • otherwise, deny or decline access
  • @@ -301,9 +307,9 @@ for HTTP Basic authentication. directives are used during the authorization phase to ensure that a user is allowed to access a resource. mod_authnz_ldap extends the authorization types with ldap-user, ldap-dn, - ldap-group and ldap-attribute. Other - authorization types may also be used but may require that additional - authorization modules be loaded.

    + ldap-group, ldap-attribute and + ldap-filter. Other authorization types may also be + used but may require that additional authorization modules be loaded.

    require valid-user

    @@ -418,6 +424,28 @@ uniqueMember: cn=Fred User, o=Airius
    +

    require ldap-filter

    + +

    The require ldap-filter directive allows the + administrator to grant access based on a complex LDAP search filter. + If the dn returned by the filter search matches the authenticated user + dn, access is granted.

    + +

    The following directive would grant access to anyone having a cell phone + and is in the marketing department

    + +

    require ldap-filter &(cell=*)(department=marketing)

    + +

    The difference between the require ldap-filter directive and the + require ldap-attribute directive is that ldap-filter + performs a search operation on the LDAP directory using the specified search + filter rather than a simple attribute comparison. If a simple attribute + comparison is all that is required, the comparison operation performed by + ldap-attribute will be faster than the search operation + used by ldap-filter especially within a large directory.

    + + +
    top

    Examples