]> granicus.if.org Git - apache/commitdiff
update transformation
authorAndré Malo <nd@apache.org>
Thu, 4 Nov 2004 22:14:41 +0000 (22:14 +0000)
committerAndré Malo <nd@apache.org>
Thu, 4 Nov 2004 22:14:41 +0000 (22:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105687 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authnz_ldap.html.en
docs/manual/mod/mod_ssl.html.en
docs/manual/vhosts/examples.html.en
docs/manual/vhosts/examples.html.ko.euc-kr
docs/manual/vhosts/examples.xml.ko
docs/manual/vhosts/examples.xml.meta

index c2ae15532838d59f64e881d8ce57546f38810115..f9f9405e7af175759c22acc64639889a9ca988da 100644 (file)
@@ -111,6 +111,7 @@ for HTTP Basic authentication.</td></tr>
           <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>
         </ul>
       </li>
 
@@ -230,6 +231,11 @@ for HTTP Basic authentication.</td></tr>
       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> 
+      directive, and the attribute fetched from the LDAP directory
+      matches the given value.</li> 
+
       <li>otherwise, deny or decline access</li>
     </ul>
 
@@ -294,9 +300,10 @@ for HTTP Basic authentication.</td></tr>
     <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
     a user is allowed to access a resource.  mod_authnz_ldap extends the 
-    authorization types with <code>ldap-user</code>, <code>ldap-dn</code> 
-    and <code>ldap-group</code>.  Other authorization types may also be 
-    used but may require that additional authorization modules be loaded.</p>
+    authorization types with <code>ldap-user</code>, <code>ldap-dn</code>, 
+    <code>ldap-group</code> and <code>ldap-attribute</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>
 
@@ -383,6 +390,34 @@ uniqueMember: cn=Fred User, o=Airius<br />
     <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>
+
+    <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>
+    
+    <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>
+
+    <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 
+    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 
+    attribute contains a space, only the value must be within double quotes.</p>
+
+    <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><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="examples" id="examples">Examples</a></h2>
index 965cf83bf3a2b72b3fbf6bcf85853aedb76ec2df..624a49c30078f28de08613168cce100a98b09a6f 100644 (file)
@@ -795,6 +795,17 @@ query can be done in two ways which can be configured by
     dialog (i.e. when you use a single Pass Phrase for all N Private Key files
     this Pass Phrase is queried only once).</p></li>
 
+<li><code>|/path/to/program [args...]</code> 
+
+   <p>This mode allows an external program to be used which acts as a
+   pipe to a particular input device; the program is sent the standard
+   prompt text used for the <code>builtin</code> mode on
+   <code>stdin</code>, and is expected to write password strings on
+   <code>stdout</code>.  If several passwords are needed (or an
+   incorrect password is entered), additional prompt text will be
+   written subsequent to the first password being returned, and more
+   passwords must then be written back.</p></li>
+
 <li><code>exec:/path/to/program</code>
     <p>
     Here an external program is configured which is called at startup for each
index 811c94bb6a06223040a7c9fbac1cfde64f906826..f1baf5e07f012f6bc56461ece4016d9c7a8fa6fb 100644 (file)
     <code>www.example.org</code> (from our <a href="#name">name-based</a> example, setup 2) should get its own IP
     address. To avoid problems with name servers or proxies who cached the
     old IP address for the name-based vhost we want to provide both
-    variants during a migration phase.<br />
+    variants during a migration phase.</p>
+
+    <p>
      The solution is easy, because we can simply add the new IP address
     (<code>172.20.30.50</code>) to the <code>VirtualHost</code>
     directive.</p>
     <code>http://www.sub1.domain.tld/</code> is only
     served from the sub1-vhost if the client sent a correct
     <code>Host:</code> header. If no <code>Host:</code> header is sent the
-    client gets the information page from the primary host.<br />
-     Please note that there is one oddity: A request to
+    client gets the information page from the primary host.</p>
+
+    <p>Please note that there is one oddity: A request to
     <code>http://www.sub2.domain.tld/sub1/</code> is also served from the
-    sub1-vhost if the client sent no <code>Host:</code> header.<br />
-     The <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> directives
+    sub1-vhost if the client sent no <code>Host:</code> header.</p>
+
+    <p>The <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> directives
     are used to make sure that a client which sent a correct
     <code>Host:</code> header can use both URL variants, <em>i.e.</em>,
     with or without URL prefix.</p>
index 41242eb4e15bc2cbb3d78d0f7eceb264869f9470..f3b5fd4a3244e4d96330f8d6a2a5330719c34291 100644 (file)
@@ -21,6 +21,8 @@
 <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/vhosts/examples.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
 <a href="../ko/vhosts/examples.html" title="Korean">&nbsp;ko&nbsp;</a></p>
 </div>
+<div class="outofdate">ÀÌ ¹®¼­´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù.
+            ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼­¸¦ Âü°íÇϼ¼¿ä.</div>
 
 
     <p>ÀÌ ¹®¼­´Â ÀÚÁÖ ¹®ÀǵǴ °¡»óÈ£½ºÆ®
index 1f682d242a5ee7d700aa5b501cae6ac2715be13a..ec2fc44cc3b977e2f4d0609d4cfacaa36f9ea959 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1.11 -->
+<!-- English Revision: 1.11 (outdated: 1.12) -->
 
 <!--
  Copyright 2003-2004 The Apache Software Foundation
index dafab07f6823e4de70c06f685cf83b26c5f23d4e..e16245834e9366687b36f0b08eebd2704cc5c581 100644 (file)
@@ -7,6 +7,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>ko</variant>
+    <variant outdated="yes">ko</variant>
   </variants>
 </metafile>