<divclass="noteimportant">This module is not part of <abbrtitle="LemonLDAP::NG">LL::NG</abbr> distribution, 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>.
</div><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>.
</div>
<p>
Sessions will be stored as LDAP entries, like this:
Go in the Manager and set the LDAP 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>
</thead>
<trclass="row2 roweven">
<tdclass="col0 centeralign"><strong>ldapServer</strong></td><tdclass="col1"><abbrtitle="Uniform Resource Identifier">URI</abbr> of the server </td><tdclass="col2"> ldap://localhost </td>
</tr>
<trclass="row3 rowodd">
<tdclass="col0 centeralign"><strong>ldapConfBase</strong></td><tdclass="col1"><abbrtitle="Distinguished Name">DN</abbr> of sessions branch </td><tdclass="col2"> ou=sessions,dc=example,dc=com </td>
<thclass="col0 centeralign"> Name </th><thclass="col1 centeralign"> Comment </th><thclass="col2 centeralign"> Default value </th>
</tr>
<trclass="row8 roweven">
<tdclass="col0 centeralign"><strong>ldapObjectClass</strong></td><tdclass="col1"> Objectclass of the entry </td><tdclass="col2"> applicationProcess </td>
</tr>
<trclass="row9 rowodd">
<tdclass="col0 centeralign"><strong>ldapAttributeId</strong></td><tdclass="col1"> Attribute storing session ID </td><tdclass="col2"> cn </td>
Restrict network access to the LDAP directory, and add specific <abbrtitle="Access Control List">ACL</abbr> 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.