httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r569408 - in /httpd/httpd/branches/2.2.x/docs/manual/mod: mod_authnz_ldap.html.en mod_authnz_ldap.xml
Date Fri, 24 Aug 2007 15:00:56 GMT
Author: noodl
Date: Fri Aug 24 08:00:55 2007
New Revision: 569408

URL: http://svn.apache.org/viewvc?rev=569408&view=rev
Log:
s/require/Require/g

Modified:
    httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.html.en
    httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.html.en?rev=569408&r1=569407&r2=569408&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.html.en Fri Aug 24 08:00:55
2007
@@ -74,7 +74,7 @@
 <ul id="topics">
 <li><img alt="" src="../images/down.gif" /> <a href="#contents">Contents</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#operation">Operation</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#requiredirectives">The
require Directives</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#requiredirectives">The
Require Directives</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#usingtls">Using TLS</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#usingssl">Using SSL</a></li>
@@ -105,15 +105,15 @@
       </li>
 
       <li>
-        <a href="#requiredirectives">The require Directives</a> 
+        <a href="#requiredirectives">The Require Directives</a> 
 
         <ul>
-          <li><a href="#reqvaliduser">require valid-user</a></li>
-          <li><a href="#requser">require ldap-user</a></li>
-          <li><a href="#reqgroup">require ldap-group</a></li>
-          <li><a href="#reqdn">require ldap-dn</a></li>
-          <li><a href="#reqattribute">require ldap-attribute</a></li>
-          <li><a href="#reqfilter">require ldap-filter</a></li>
+          <li><a href="#reqvaliduser">Require valid-user</a></li>
+          <li><a href="#requser">Require ldap-user</a></li>
+          <li><a href="#reqgroup">Require ldap-group</a></li>
+          <li><a href="#reqdn">Require ldap-dn</a></li>
+          <li><a href="#reqattribute">Require ldap-attribute</a></li>
+          <li><a href="#reqfilter">Require ldap-filter</a></li>
         </ul>
       </li>
 
@@ -221,25 +221,25 @@
     directives to determine if the credentials are acceptable:</p>
 
     <ul>
-      <li>Grant access if there is a <a href="#reqgroup"><code>require
ldap-user</code></a> directive, and the
+      <li>Grant access if there is a <a href="#reqgroup"><code>Require
ldap-user</code></a> directive, and the
       username in the directive matches the username passed by the
       client.</li>
 
-      <li>Grant access if there is a <a href="#reqdn"><code>require
+      <li>Grant access if there is a <a href="#reqdn"><code>Require
       ldap-dn</code></a> directive, and the DN in the directive matches
       the DN fetched from the LDAP directory.</li>
 
-      <li>Grant access if there is a <a href="#reqgroup"><code>require
ldap-group</code></a> directive, and
+      <li>Grant access if there is a <a href="#reqgroup"><code>Require
ldap-group</code></a> directive, and
       the DN fetched from the LDAP directory (or the username
       passed by the client) occurs in the LDAP group.</li>
 
       <li>Grant access if there is a <a href="#reqattribute">
-      <code>require ldap-attribute</code></a> 
+      <code>Require ldap-attribute</code></a> 
       directive, and the attribute fetched from the LDAP directory
       matches the given value.</li> 
 
       <li>Grant access if there is a <a href="#reqfilter">
-      <code>require ldap-filter</code></a> 
+      <code>Require ldap-filter</code></a> 
       directive, and the search filter successfully finds a single user
       object that matches the dn of the authenticated user.</li> 
 
@@ -256,11 +256,11 @@
     <code class="directive"><a href="../mod/core.html#require">Require</a></code>
value.</p>
 
     <ul>
-        <li>Grant access if there is a <a href="#requser"><code>require
+        <li>Grant access if there is a <a href="#requser"><code>Require
         valid-user</code></a> directive. (requires 
         <code class="module"><a href="../mod/mod_authz_user.html">mod_authz_user</a></code>)</li>
 
-        <li>Grant access if there is a <a href="#reqgroup"><code>require
group</code></a> directive, and
+        <li>Grant access if there is a <a href="#reqgroup"><code>Require
group</code></a> directive, and
         <code class="module"><a href="../mod/mod_authz_groupfile.html">mod_authz_groupfile</a></code>
has been loaded with the 
         <code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code>

         directive set.</li>
@@ -278,7 +278,7 @@
         <td><code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code>
</td>
 
         <td>The attribute specified in the
-        URL is used in compare operations for the <code>require
+        URL is used in compare operations for the <code>Require
         ldap-user</code> operation.</td>
       </tr>
 
@@ -286,14 +286,14 @@
         <td><code class="directive"><a href="#authldapcomparednonserver">AuthLDAPCompareDNOnServer</a></code></td>
 
         <td>Determines the behavior of the
-        <code>require ldap-dn</code> directive.</td>
+        <code>Require ldap-dn</code> directive.</td>
       </tr>
 
       <tr>
         <td><code class="directive"><a href="#authldapgroupattribute">AuthLDAPGroupAttribute</a></code></td>
 
         <td>Determines the attribute to
-        use for comparisons in the <code>require ldap-group</code>
+        use for comparisons in the <code>Require ldap-group</code>
         directive.</td>
       </tr>
 
@@ -302,13 +302,13 @@
 
         <td>Specifies whether to use the
         user DN or the username when doing comparisons for the
-        <code>require ldap-group</code> directive.</td>
+        <code>Require ldap-group</code> directive.</td>
       </tr>
     </table>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="section">
-<h2><a name="requiredirectives" id="requiredirectives">The require Directives</a></h2>
+<h2><a name="requiredirectives" id="requiredirectives">The Require Directives</a></h2>
 
     <p>Apache's <code class="directive"><a href="../mod/core.html#require">Require</a></code>
     directives are used during the authorization phase to ensure that
@@ -318,7 +318,7 @@
     <code>ldap-filter</code>.  Other authorization types may also be 
     used but may require that additional authorization modules be loaded.</p>
 
-<h3><a name="reqvaliduser" id="reqvaliduser">require valid-user</a></h3>
+<h3><a name="reqvaliduser" id="reqvaliduser">Require valid-user</a></h3>
 
     <p>If this directive exists, <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
grants
     access to any user that has successfully authenticated during the
@@ -328,42 +328,42 @@
     directive be set to off.</p>
 
 
-<h3><a name="requser" id="requser">require ldap-user</a></h3>
+<h3><a name="requser" id="requser">Require ldap-user</a></h3>
 
-    <p>The <code>require ldap-user</code> directive specifies what
+    <p>The <code>Require ldap-user</code> directive specifies what
     usernames can access the resource. Once
     <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
has retrieved a unique DN from the
     directory, it does an LDAP compare operation using the username
-    specified in the <code>require ldap-user</code> to see if that username
+    specified in the <code>Require ldap-user</code> to see if that username
     is part of the just-fetched LDAP entry.  Multiple users can be
     granted access by putting multiple usernames on the line,
     separated with spaces. If a username has a space in it, then it
     must be surrounded with double quotes. Multiple users can also be
-    granted access by using multiple <code>require ldap-user</code>
+    granted access by using multiple <code>Require ldap-user</code>
     directives, with one user per line. For example, with a <code class="directive"><a
href="#authldapurl">AuthLDAPURL</a></code> of
     <code>ldap://ldap/o=Airius?cn</code> (i.e., <code>cn</code> is
-    used for searches), the following require directives could be used
+    used for searches), the following Require directives could be used
     to restrict access:</p>
 <div class="example"><p><code>
-require ldap-user "Barbara Jenson"<br />
-require ldap-user "Fred User"<br />
-require ldap-user "Joe Manager"<br />
+Require ldap-user "Barbara Jenson"<br />
+Require ldap-user "Fred User"<br />
+Require ldap-user "Joe Manager"<br />
 </code></p></div>
 
     <p>Because of the way that <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
handles this
     directive, Barbara Jenson could sign on as <em>Barbara
     Jenson</em>, <em>Babs Jenson</em> or any other <code>cn</code>
that
-    she has in her LDAP entry. Only the single <code>require
+    she has in her LDAP entry. Only the single <code>Require
     ldap-user</code> line is needed to support all values of the attribute
     in the user's entry.</p>
 
     <p>If the <code>uid</code> attribute was used instead of the
     <code>cn</code> attribute in the URL above, the above three lines
     could be condensed to</p>
-<div class="example"><p><code>require ldap-user bjenson fuser jmanager</code></p></div>
+<div class="example"><p><code>Require ldap-user bjenson fuser jmanager</code></p></div>
 
 
-<h3><a name="reqgroup" id="reqgroup">require ldap-group</a></h3>
+<h3><a name="reqgroup" id="reqgroup">Require ldap-group</a></h3>
 
     <p>This directive specifies an LDAP group whose members are
     allowed access. It takes the distinguished name of the LDAP
@@ -379,34 +379,34 @@
 
     <p>The following directive would grant access to both Fred and
     Barbara:</p>
-<div class="example"><p><code>require ldap-group cn=Administrators, o=Airius</code></p></div>
+<div class="example"><p><code>Require ldap-group cn=Administrators, o=Airius</code></p></div>
 
     <p>Behavior of this directive is modified by the <code class="directive"><a
href="#authldapgroupattribute">AuthLDAPGroupAttribute</a></code> and
     <code class="directive"><a href="#authldapgroupattributeisdn">AuthLDAPGroupAttributeIsDN</a></code>
     directives.</p>
 
 
-<h3><a name="reqdn" id="reqdn">require ldap-dn</a></h3>
+<h3><a name="reqdn" id="reqdn">Require ldap-dn</a></h3>
 
-    <p>The <code>require ldap-dn</code> directive allows the administrator
+    <p>The <code>Require ldap-dn</code> directive allows the administrator
     to grant access based on distinguished names. It specifies a DN
     that must match for access to be granted. If the distinguished
     name that was retrieved from the directory server matches the
-    distinguished name in the <code>require ldap-dn</code>, then
+    distinguished name in the <code>Require ldap-dn</code>, then
     authorization is granted. Note: do not surround the distinguished
     name with quotes.</p>
 
     <p>The following directive would grant access to a specific
     DN:</p>
-<div class="example"><p><code>require ldap-dn cn=Barbara Jenson, o=Airius</code></p></div>
+<div class="example"><p><code>Require ldap-dn cn=Barbara Jenson, o=Airius</code></p></div>
 
     <p>Behavior of this directive is modified by the <code class="directive"><a
href="#authldapcomparednonserver">AuthLDAPCompareDNOnServer</a></code>
     directive.</p>
 
 
-<h3><a name="reqattribute" id="reqattribute">require ldap-attribute</a></h3>
+<h3><a name="reqattribute" id="reqattribute">Require ldap-attribute</a></h3>
 
-    <p>The <code>require ldap-attribute</code> directive allows the
+    <p>The <code>Require ldap-attribute</code> 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.</p>
@@ -414,11 +414,11 @@
     <p>The following directive would grant access to anyone with
     the attribute employeeType = active</p>
 
-    <div class="example"><p><code>require ldap-attribute employeeType=active</code></p></div>
+    <div class="example"><p><code>Require ldap-attribute employeeType=active</code></p></div>
 
     <p>Multiple attribute/value pairs can be specified on the same line
     separated by spaces or they can be specified in multiple 
-    <code>require ldap-attribute</code> directives. The effect of listing 
+    <code>Require ldap-attribute</code> 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 the 
     corresponding attribute in the user object. If the value of the 
@@ -427,13 +427,13 @@
     <p>The following directive would grant access to anyone with
     the city attribute equal to "San Jose" or status equal to "Active"</p>
 
-    <div class="example"><p><code>require ldap-attribute city="San Jose"
status=active</code></p></div>
+    <div class="example"><p><code>Require ldap-attribute city="San Jose"
status=active</code></p></div>
 
 
 
-<h3><a name="reqfilter" id="reqfilter">require ldap-filter</a></h3>
+<h3><a name="reqfilter" id="reqfilter">Require ldap-filter</a></h3>
 
-    <p>The <code>require ldap-filter</code> directive allows the
+    <p>The <code>Require ldap-filter</code> 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.</p>
@@ -441,10 +441,10 @@
     <p>The following directive would grant access to anyone having a cell phone
     and is in the marketing department</p>
 
-    <div class="example"><p><code>require ldap-filter &amp;(cell=*)(department=marketing)</code></p></div>
+    <div class="example"><p><code>Require ldap-filter &amp;(cell=*)(department=marketing)</code></p></div>
 
-    <p>The difference between the <code>require ldap-filter</code> directive
and the 
-    <code>require ldap-attribute</code> directive is that <code>ldap-filter</code>

+    <p>The difference between the <code>Require ldap-filter</code> directive
and the 
+    <code>Require ldap-attribute</code> directive is that <code>ldap-filter</code>

     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 
@@ -463,7 +463,7 @@
         using their UID for searches. 
 <div class="example"><p><code>
 AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*)<br
/>
-require valid-user
+Require valid-user
 </code></p></div>
       </li>
 
@@ -472,7 +472,7 @@
         that have useful defaults omitted. Also, note the use of a
         redundant LDAP server. 
 <div class="example"><p><code>AuthLDAPURL ldap://ldap1.airius.com ldap2.airius.com/ou=People,
o=Airius<br />
-require valid-user
+Require valid-user
 </code></p></div>
       </li>
 
@@ -487,7 +487,7 @@
         directory, such as <code>uid</code>. 
 <div class="example"><p><code>
 AuthLDAPURL ldap://ldap.airius.com/ou=People, o=Airius?cn<br />
-require valid-user
+Require valid-user
 </code></p></div>
       </li>
 
@@ -496,7 +496,7 @@
         users must authenticate using their UID. 
 <div class="example"><p><code>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid<br />
-require ldap-group cn=Administrators, o=Airius
+Require ldap-group cn=Administrators, o=Airius
 </code></p></div>
       </li>
 
@@ -508,7 +508,7 @@
         alphanumeric pagers: 
 <div class="example"><p><code>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid??(qpagePagerID=*)<br />
-require valid-user
+Require valid-user
 </code></p></div>
       </li>
 
@@ -524,7 +524,7 @@
         resource:</p>
 <div class="example"><p><code>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid??(|(qpagePagerID=*)(uid=jmanager))<br
/>
-require valid-user
+Require valid-user
 </code></p></div>
 
         <p>This last may look confusing at first, so it helps to
@@ -587,7 +587,7 @@
 AuthLDAPURL            "the url"
 AuthzLDAPAuthoritative off
 AuthGroupFile <em>mygroupfile</em>
-require group <em>mygroupfile</em>
+Require group <em>mygroupfile</em>
 </pre></div>
 
     <p><code class="directive"><a href="#authzldapauthoritative">AuthzLDAPAuthoritative</a></code>

@@ -598,9 +598,9 @@
 
 <h3><a name="howitworks" id="howitworks">How It Works</a></h3>
 
-    <p>FrontPage restricts access to a web by adding the <code>require
+    <p>FrontPage restricts access to a web by adding the <code>Require
     valid-user</code> directive to the <code>.htaccess</code>
-    files. The <code>require valid-user</code> directive will succeed for
+    files. The <code>Require valid-user</code> directive will succeed for
     any user who is valid <em>as far as LDAP is
     concerned</em>. This means that anybody who has an entry in
     the LDAP directory is considered a valid user, whereas FrontPage
@@ -723,7 +723,7 @@
     <p>When set, <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
will use the LDAP
     server to compare the DNs. This is the only foolproof way to
     compare DNs.  <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
will search the
-    directory for the DN specified with the <a href="#reqdn"><code>require dn</code></a>
directive, then,
+    directory for the DN specified with the <a href="#reqdn"><code>Require dn</code></a>
directive, then,
     retrieve the DN and compare it with the DN retrieved from the user
     entry. If this directive is not set,
     <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code>
simply does a string comparison. It

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.xml?rev=569408&r1=569407&r2=569408&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_authnz_ldap.xml Fri Aug 24 08:00:55 2007
@@ -81,15 +81,15 @@
       </li>
 
       <li>
-        <a href="#requiredirectives">The require Directives</a> 
+        <a href="#requiredirectives">The Require Directives</a> 
 
         <ul>
-          <li><a href="#reqvaliduser">require valid-user</a></li>
-          <li><a href="#requser">require ldap-user</a></li>
-          <li><a href="#reqgroup">require ldap-group</a></li>
-          <li><a href="#reqdn">require ldap-dn</a></li>
-          <li><a href="#reqattribute">require ldap-attribute</a></li>
-          <li><a href="#reqfilter">require ldap-filter</a></li>
+          <li><a href="#reqvaliduser">Require valid-user</a></li>
+          <li><a href="#requser">Require ldap-user</a></li>
+          <li><a href="#reqgroup">Require ldap-group</a></li>
+          <li><a href="#reqdn">Require ldap-dn</a></li>
+          <li><a href="#reqattribute">Require ldap-attribute</a></li>
+          <li><a href="#reqfilter">Require ldap-filter</a></li>
         </ul>
       </li>
 
@@ -200,26 +200,26 @@
 
     <ul>
       <li>Grant access if there is a <a
-      href="#reqgroup"><code>require ldap-user</code></a> directive,
and the
+      href="#reqgroup"><code>Require ldap-user</code></a> directive,
and the
       username in the directive matches the username passed by the
       client.</li>
 
-      <li>Grant access if there is a <a href="#reqdn"><code>require
+      <li>Grant access if there is a <a href="#reqdn"><code>Require
       ldap-dn</code></a> directive, and the DN in the directive matches
       the DN fetched from the LDAP directory.</li>
 
       <li>Grant access if there is a <a
-      href="#reqgroup"><code>require ldap-group</code></a> directive,
and
+      href="#reqgroup"><code>Require ldap-group</code></a> directive,
and
       the DN fetched from the LDAP directory (or the username
       passed by the client) occurs in the LDAP group.</li>
 
       <li>Grant access if there is a <a href="#reqattribute">
-      <code>require ldap-attribute</code></a> 
+      <code>Require ldap-attribute</code></a> 
       directive, and the attribute fetched from the LDAP directory
       matches the given value.</li> 
 
       <li>Grant access if there is a <a href="#reqfilter">
-      <code>require ldap-filter</code></a> 
+      <code>Require ldap-filter</code></a> 
       directive, and the search filter successfully finds a single user
       object that matches the dn of the authenticated user.</li> 
 
@@ -236,12 +236,12 @@
     <directive module="core">Require</directive> value.</p>
 
     <ul>
-        <li>Grant access if there is a <a href="#requser"><code>require
+        <li>Grant access if there is a <a href="#requser"><code>Require
         valid-user</code></a> directive. (requires 
         <module>mod_authz_user</module>)</li>
 
         <li>Grant access if there is a <a
-        href="#reqgroup"><code>require group</code></a> directive, and
+        href="#reqgroup"><code>Require group</code></a> directive, and
         <module>mod_authz_groupfile</module> has been loaded with the 
         <directive module="mod_authz_groupfile">AuthGroupFile</directive> 
         directive set.</li>
@@ -259,7 +259,7 @@
         <td><directive module="mod_authnz_ldap">AuthLDAPURL</directive>
</td>
 
         <td>The attribute specified in the
-        URL is used in compare operations for the <code>require
+        URL is used in compare operations for the <code>Require
         ldap-user</code> operation.</td>
       </tr>
 
@@ -268,7 +268,7 @@
         module="mod_authnz_ldap">AuthLDAPCompareDNOnServer</directive></td>
 
         <td>Determines the behavior of the
-        <code>require ldap-dn</code> directive.</td>
+        <code>Require ldap-dn</code> directive.</td>
       </tr>
 
       <tr>
@@ -276,7 +276,7 @@
         module="mod_authnz_ldap">AuthLDAPGroupAttribute</directive></td>
 
         <td>Determines the attribute to
-        use for comparisons in the <code>require ldap-group</code>
+        use for comparisons in the <code>Require ldap-group</code>
         directive.</td>
       </tr>
 
@@ -286,13 +286,13 @@
 
         <td>Specifies whether to use the
         user DN or the username when doing comparisons for the
-        <code>require ldap-group</code> directive.</td>
+        <code>Require ldap-group</code> directive.</td>
       </tr>
     </table>
 </section>
 </section>
 
-<section id="requiredirectives"><title>The require Directives</title>
+<section id="requiredirectives"><title>The Require Directives</title>
 
     <p>Apache's <directive module="core">Require</directive>
     directives are used during the authorization phase to ensure that
@@ -302,7 +302,7 @@
     <code>ldap-filter</code>.  Other authorization types may also be 
     used but may require that additional authorization modules be loaded.</p>
 
-<section id="reqvaliduser"><title>require valid-user</title>
+<section id="reqvaliduser"><title>Require valid-user</title>
 
     <p>If this directive exists, <module>mod_authnz_ldap</module> grants
     access to any user that has successfully authenticated during the
@@ -312,43 +312,43 @@
     directive be set to off.</p>
 </section>
 
-<section id="requser"><title>require ldap-user</title>
+<section id="requser"><title>Require ldap-user</title>
 
-    <p>The <code>require ldap-user</code> directive specifies what
+    <p>The <code>Require ldap-user</code> directive specifies what
     usernames can access the resource. Once
     <module>mod_authnz_ldap</module> has retrieved a unique DN from the
     directory, it does an LDAP compare operation using the username
-    specified in the <code>require ldap-user</code> to see if that username
+    specified in the <code>Require ldap-user</code> to see if that username
     is part of the just-fetched LDAP entry.  Multiple users can be
     granted access by putting multiple usernames on the line,
     separated with spaces. If a username has a space in it, then it
     must be surrounded with double quotes. Multiple users can also be
-    granted access by using multiple <code>require ldap-user</code>
+    granted access by using multiple <code>Require ldap-user</code>
     directives, with one user per line. For example, with a <directive
     module="mod_authnz_ldap">AuthLDAPURL</directive> of
     <code>ldap://ldap/o=Airius?cn</code> (i.e., <code>cn</code> is
-    used for searches), the following require directives could be used
+    used for searches), the following Require directives could be used
     to restrict access:</p>
 <example>
-require ldap-user "Barbara Jenson"<br />
-require ldap-user "Fred User"<br />
-require ldap-user "Joe Manager"<br />
+Require ldap-user "Barbara Jenson"<br />
+Require ldap-user "Fred User"<br />
+Require ldap-user "Joe Manager"<br />
 </example>
 
     <p>Because of the way that <module>mod_authnz_ldap</module> handles
this
     directive, Barbara Jenson could sign on as <em>Barbara
     Jenson</em>, <em>Babs Jenson</em> or any other <code>cn</code>
that
-    she has in her LDAP entry. Only the single <code>require
+    she has in her LDAP entry. Only the single <code>Require
     ldap-user</code> line is needed to support all values of the attribute
     in the user's entry.</p>
 
     <p>If the <code>uid</code> attribute was used instead of the
     <code>cn</code> attribute in the URL above, the above three lines
     could be condensed to</p>
-<example>require ldap-user bjenson fuser jmanager</example>
+<example>Require ldap-user bjenson fuser jmanager</example>
 </section>
 
-<section id="reqgroup"><title>require ldap-group</title>
+<section id="reqgroup"><title>Require ldap-group</title>
 
     <p>This directive specifies an LDAP group whose members are
     allowed access. It takes the distinguished name of the LDAP
@@ -364,7 +364,7 @@
 
     <p>The following directive would grant access to both Fred and
     Barbara:</p>
-<example>require ldap-group cn=Administrators, o=Airius</example>
+<example>Require ldap-group cn=Administrators, o=Airius</example>
 
     <p>Behavior of this directive is modified by the <directive
     module="mod_authnz_ldap">AuthLDAPGroupAttribute</directive> and
@@ -373,28 +373,28 @@
     directives.</p>
 </section>
 
-<section id="reqdn"><title>require ldap-dn</title>
+<section id="reqdn"><title>Require ldap-dn</title>
 
-    <p>The <code>require ldap-dn</code> directive allows the administrator
+    <p>The <code>Require ldap-dn</code> directive allows the administrator
     to grant access based on distinguished names. It specifies a DN
     that must match for access to be granted. If the distinguished
     name that was retrieved from the directory server matches the
-    distinguished name in the <code>require ldap-dn</code>, then
+    distinguished name in the <code>Require ldap-dn</code>, then
     authorization is granted. Note: do not surround the distinguished
     name with quotes.</p>
 
     <p>The following directive would grant access to a specific
     DN:</p>
-<example>require ldap-dn cn=Barbara Jenson, o=Airius</example>
+<example>Require ldap-dn cn=Barbara Jenson, o=Airius</example>
 
     <p>Behavior of this directive is modified by the <directive
     module="mod_authnz_ldap">AuthLDAPCompareDNOnServer</directive>
     directive.</p>
 </section>
 
-<section id="reqattribute"><title>require ldap-attribute</title>
+<section id="reqattribute"><title>Require ldap-attribute</title>
 
-    <p>The <code>require ldap-attribute</code> directive allows the
+    <p>The <code>Require ldap-attribute</code> 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.</p>
@@ -402,11 +402,11 @@
     <p>The following directive would grant access to anyone with
     the attribute employeeType = active</p>
 
-    <example>require ldap-attribute employeeType=active</example>
+    <example>Require ldap-attribute employeeType=active</example>
 
     <p>Multiple attribute/value pairs can be specified on the same line
     separated by spaces or they can be specified in multiple 
-    <code>require ldap-attribute</code> directives. The effect of listing 
+    <code>Require ldap-attribute</code> 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 the 
     corresponding attribute in the user object. If the value of the 
@@ -415,13 +415,13 @@
     <p>The following directive would grant access to anyone with
     the city attribute equal to "San Jose" or status equal to "Active"</p>
 
-    <example>require ldap-attribute city="San Jose" status=active</example>
+    <example>Require ldap-attribute city="San Jose" status=active</example>
 
 </section>
 
-<section id="reqfilter"><title>require ldap-filter</title>
+<section id="reqfilter"><title>Require ldap-filter</title>
 
-    <p>The <code>require ldap-filter</code> directive allows the
+    <p>The <code>Require ldap-filter</code> 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.</p>
@@ -429,10 +429,10 @@
     <p>The following directive would grant access to anyone having a cell phone
     and is in the marketing department</p>
 
-    <example>require ldap-filter &amp;(cell=*)(department=marketing)</example>
+    <example>Require ldap-filter &amp;(cell=*)(department=marketing)</example>
 
-    <p>The difference between the <code>require ldap-filter</code> directive
and the 
-    <code>require ldap-attribute</code> directive is that <code>ldap-filter</code>

+    <p>The difference between the <code>Require ldap-filter</code> directive
and the 
+    <code>Require ldap-attribute</code> directive is that <code>ldap-filter</code>

     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 
@@ -451,7 +451,7 @@
         using their UID for searches. 
 <example>
 AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*)<br
/>
-require valid-user
+Require valid-user
 </example>
       </li>
 
@@ -460,7 +460,7 @@
         that have useful defaults omitted. Also, note the use of a
         redundant LDAP server. 
 <example>AuthLDAPURL ldap://ldap1.airius.com ldap2.airius.com/ou=People, o=Airius<br
/>
-require valid-user
+Require valid-user
 </example>
       </li>
 
@@ -475,7 +475,7 @@
         directory, such as <code>uid</code>. 
 <example>
 AuthLDAPURL ldap://ldap.airius.com/ou=People, o=Airius?cn<br />
-require valid-user
+Require valid-user
 </example>
       </li>
 
@@ -484,7 +484,7 @@
         users must authenticate using their UID. 
 <example>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid<br />
-require ldap-group cn=Administrators, o=Airius
+Require ldap-group cn=Administrators, o=Airius
 </example>
       </li>
 
@@ -496,7 +496,7 @@
         alphanumeric pagers: 
 <example>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid??(qpagePagerID=*)<br />
-require valid-user
+Require valid-user
 </example>
       </li>
 
@@ -512,7 +512,7 @@
         resource:</p>
 <example>
 AuthLDAPURL ldap://ldap.airius.com/o=Airius?uid??(|(qpagePagerID=*)(uid=jmanager))<br
/>
-require valid-user
+Require valid-user
 </example>
 
         <p>This last may look confusing at first, so it helps to
@@ -581,7 +581,7 @@
 AuthLDAPURL            "the url"
 AuthzLDAPAuthoritative off
 AuthGroupFile <em>mygroupfile</em>
-require group <em>mygroupfile</em>
+Require group <em>mygroupfile</em>
 </pre></example>
 
     <p><directive module="mod_authnz_ldap">AuthzLDAPAuthoritative</directive>

@@ -592,9 +592,9 @@
 
 <section id="howitworks"><title>How It Works</title>
 
-    <p>FrontPage restricts access to a web by adding the <code>require
+    <p>FrontPage restricts access to a web by adding the <code>Require
     valid-user</code> directive to the <code>.htaccess</code>
-    files. The <code>require valid-user</code> directive will succeed for
+    files. The <code>Require valid-user</code> directive will succeed for
     any user who is valid <em>as far as LDAP is
     concerned</em>. This means that anybody who has an entry in
     the LDAP directory is considered a valid user, whereas FrontPage
@@ -741,7 +741,7 @@
     server to compare the DNs. This is the only foolproof way to
     compare DNs.  <module>mod_authnz_ldap</module> will search the
     directory for the DN specified with the <a
-    href="#reqdn"><code>require dn</code></a> directive, then,
+    href="#reqdn"><code>Require dn</code></a> directive, then,
     retrieve the DN and compare it with the DN retrieved from the user
     entry. If this directive is not set,
     <module>mod_authnz_ldap</module> simply does a string comparison. It



Mime
View raw message