An Apache session module was created by <acronymtitle="LemonLDAP::NG">LL::NG</acronym> team to store sessions in an <acronymtitle="Lightweight Directory Access Protocol">LDAP</acronym> directory.
</p>
<p>
<p><divclass="noteimportant">This module is not part of <acronymtitle="LemonLDAP::NG">LL::NG</acronym> distibution, and can be found on CPAN: <ahref="http://search.cpan.org/dist/Apache-Session-LDAP/"class="urlextern"title="http://search.cpan.org/dist/Apache-Session-LDAP/"rel="nofollow">Apache::Session::LDAP</a>.
<p><divclass="notetip">This module is also available on <ahref="https://github.com/coudot/apache-session-ldap"class="urlextern"title="https://github.com/coudot/apache-session-ldap"rel="nofollow">GitHub</a>.
Go in the Manager and set the <acronymtitle="Lightweight Directory Access Protocol">LDAP</acronym> session module (<ahref="http://search.cpan.org/dist/Apache-Session-LDAP/"class="urlextern"title="http://search.cpan.org/dist/Apache-Session-LDAP/"rel="nofollow">Apache::Session::LDAP</a>) in <code>General parameters</code> » <code>Sessions</code> » <code>Session storage</code> » <code>Apache::Session module</code> and add the following parameters (case sensitive):
<thclass="col0 centeralign"> Name </th><thclass="col1 centeralign"> Comment </th><thclass="col2 centeralign"> Example </th>
</tr>
<trclass="row2 roweven">
<tdclass="col0 centeralign"><strong>ldapServer</strong></td><tdclass="col1"><acronymtitle="Uniform Resource Identifier">URI</acronym> of the server </td><tdclass="col2"> ldap://localhost </td>
</tr>
<trclass="row3 rowodd">
<tdclass="col0 centeralign"><strong>ldapConfBase</strong></td><tdclass="col1"><acronymtitle="Distinguished Name">DN</acronym> of sessions branch </td><tdclass="col2"> ou=sessions,dc=example,dc=com </td>
Restrict network access to the <acronymtitle="Lightweight Directory Access Protocol">LDAP</acronym> directory, and add specific <acronymtitle="Access Control List">ACL</acronym> to session branch.
</p>
<p>
You can also use different user/password for your servers by overriding parameters <code>globalStorage</code> and <code>globalStorageOptions</code> in lemonldap-ng.ini file.