ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaie_5.4.0.1/rzaiemod_ibm_linc.htm

98 lines
6.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Module mod_ibm_linc" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiemod_ibm_linc" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Module mod_ibm_linc</title>
</head>
<body id="rzaiemod_ibm_linc"><a name="rzaiemod_ibm_linc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<!--Java sync-link--><h1 class="topictitle1">Module mod_ibm_linc</h1>
<div><div class="important"><span class="importanttitle">Important:</span> Information
for this topic supports the latest PTF levels for HTTP Server for i5/OS .
It is recommended that you install the latest PTFs to upgrade to the latest
level of the HTTP Server for i5/OS. Some of the topics documented here are
not available prior to this update. See <a href="http://www-03.ibm.com/servers/eserver/iseries/software/http/services/service.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm</a> <img src="www.gif" alt="Link outside Information Center" /> for more information. </div>
<p><strong>Summary</strong></p>
<p>The module mod_ibm_linc supports the LDAPInclude directive that allows
HTTP Server to access a Lightweight Directory Access Protocol (LDAP) directory
and to query the directory in a database fashion to obtain HTTP configuration
information. The LDAPInclude directive requires a file that contains the directives
necessary to contact the LDAP server. This can be the same filename that is
used on the LdapConfigFile directive. See the mod_ibm_ldap module for details
on the directives necessary to contact an LDAP server. </p>
<p>If the LDAPInclude directive is placed in the server configuration file,
the following directive must be specified prior to its use: </p>
<pre class="block">LoadModule ibm_ldap_include /QSYS.LIB/QHTTPSVR.LIB/QZSRVLDAP.SRVPGM </pre>
<p><strong>Directive</strong></p>
<ul><li><a href="#ldapinclude">LDAPInclude</a></li>
</ul>
</div>
<div class="hr" id="ldapinclude"><a name="ldapinclude"><!-- --></a><h2 class="topictitle2">LDAPInclude</h2>
<div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><tbody><tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Module">Module</a></strong>: mod_ibm_linc</td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Syntax">Syntax</a></strong>: LDAPInclude <em>filename filter attribute</em> </td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Default">Default</a></strong>: none </td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Context">Context</a></strong>: <span id="ldapinclude__ldapinclude_context"><a name="ldapinclude__ldapinclude_context"><!-- --></a>server config,
virtual host, directory </span></td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Override">Override</a></strong>: none </td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Origin">Origin</a></strong>: <span id="ldapinclude__ldapinclude_origin"><a name="ldapinclude__ldapinclude_origin"><!-- --></a>iSeries™ </span></td>
</tr>
<tr><td colspan="2" valign="top"><strong><a href="rzaiedirective-dict.htm#rzaiedirective-dict__Example">Example</a></strong>: LDAPInclude /QIBM/UserData/HTTPA/LDAP/ldap.prop
(cn=web) binProperty </td>
</tr>
</tbody>
</table>
</div>
<p>LDAPInclude directive is used to retrieve HTTP configuration information
that is stored in an LDAP directory. The LDAP server is contacted using information
from the configuration file provided, and an LDAP search is performed using
the filter. Once information is returned from the LDAP search, the values
of the attributes are then used as part of the HTTP configuration file. </p>
<p>The same filename that is used on an <a href="rzaiemod_ibm_ldap.htm#configFile">LDAPConfigFile</a> directive may also be used
for the LDAPInclude directive. </p>
<dl class="block"><dt class="dlterm"><strong>Parameter One</strong>: <em>filename </em></dt>
<dd><ul><li>The <em>filename</em> parameter is the name of the file that contains LDAP
directives required to connect to an LDAP server. </li>
</ul>
</dd>
</dl>
<dl class="block"><dt class="dlterm"><strong>Parameter Two</strong>: <em>filter </em></dt>
<dd><ul><li>The <em>filter</em> parameter is the search string that is passed from HTTP
Server to the LDAP server to return an LDAP entry. </li>
</ul>
</dd>
</dl>
<dl class="block"><dt class="dlterm"><strong>Parameter Three</strong>: <em>attribute </em></dt>
<dd><ul><li>The <em>attribute</em> parameter is the name of the LDAP attribute whose
value is some arbitrary part of HTTP Server configuration file. </li>
</ul>
</dd>
</dl>
</div>
</div>
</body>
</html>