<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="en-us" /> <meta name="ROBOTS" content="ALL" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="Keywords" content="cherokee web server httpd http" /> <meta name="Description" content="Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more." /> <link href="media/css/cherokee_doc.css" rel="stylesheet" type="text/css" media="all" /> </head> <body> <h2 id="_a_href_index_html_index_a_8594_a_href_modules_html_modules_a_8594_a_href_modules_validators_html_validators_a"><a href="index.html">Index</a> → <a href="modules.html">Modules</a> → <a href="modules_validators.html">Validators</a></h2> <div class="sectionbody"> <h3 id="_validator_ldap">Validator: LDAP</h3><div style="clear:left"></div> <div class="paragraph"><p>The LDAP validator allows you to authenticate a user using the Lightweight Directory Access Protocol v3.</p></div> <h4 id="parameters">Parameters</h4> <div class="tableblock"> <table rules="all" width="100%" frame="border" cellspacing="0" cellpadding="4"> <col width="20%" /> <col width="80%" /> <thead> <tr> <th align="left" valign="top">Parameter </th> <th align="left" valign="top">Description</th> </tr> </thead> <tbody> <tr> <td align="left" valign="top"><p class="table"><em>server</em></p></td> <td align="left" valign="top"><p class="table">Name of the host providing the LDAP service.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>port</em></p></td> <td align="left" valign="top"><p class="table">Optional. Port number of the LDAP service. Default: <em>389</em>.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>binddn</em></p></td> <td align="left" valign="top"><p class="table">Optional. Bind Distinguished Name (<tt>user</tt>). If none is provided an anonymous bind will be attempted.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>bindpw</em></p></td> <td align="left" valign="top"><p class="table">Bind Password (<tt>password</tt>).</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>basedn</em></p></td> <td align="left" valign="top"><p class="table">Base Distinguished Name.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>filter</em></p></td> <td align="left" valign="top"><p class="table">A filter that defines the conditions that must be fulfilled in order for the search to match a given entry.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>tls</em></p></td> <td align="left" valign="top"><p class="table">Optional. Enable the use of TLS based integrity. Defaults to <em>0</em>.</p></td> </tr> <tr> <td align="left" valign="top"><p class="table"><em>ca_file</em></p></td> <td align="left" valign="top"><p class="table">Optional. It’s the CA filename. Must be provided if TLS is enabled.</p></td> </tr> </tbody> </table> </div> <h4 id="compatibility">Compatibility</h4> <div class="paragraph"><p>This validator is compatible with the <strong>basic</strong> scheme.</p></div> <h4 id="notes">Notes</h4> <div class="paragraph"><p>The server address can be specified as an IP address or a hostname.</p></div> <div class="paragraph"><p>Base DN, also known as search base, identifies the part of the directory tree you want to manage.</p></div> <div class="paragraph"><p>Bind DN is the user name.</p></div> </div> <div id="footer"> <div id="footer-text"> </div> </div> </body> </html>