Summary
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.
If the LDAPInclude directive is placed in the server configuration file, the following directive must be specified prior to its use:
LoadModule ibm_ldap_include /QSYS.LIB/QHTTPSVR.LIB/QZSRVLDAP.SRVPGM
Directive
Module: mod_ibm_linc | |
Syntax: LDAPInclude filename filter attribute | |
Default: none | |
Context: server config, virtual host, directory | |
Override: none | |
Origin: iSeries™ | |
Example: LDAPInclude /QIBM/UserData/HTTPA/LDAP/ldap.prop (cn=web) binProperty |
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.
The same filename that is used on an LDAPConfigFile directive may also be used for the LDAPInclude directive.