Apache::Session::Browseable::Store::LDAP(3pm)

Apache::Session::Browseable::Store::LDAP3pm

Use ldap to store persistent objects

Usage

 use Apache::Session::Browseable::Store::LDAP;
 my $store = new Apache::Session::Browseable::Store::LDAP;
 $store->insert($ref);
 $store->update($ref);
 $store->materialize($ref);
 $store->remove($ref);

Overview

This module fulfills the storage interface of Apache::Session. The serialized objects are stored in an LDAP directory file using the Net::LDAP Perl module.

Options

This module requires one argument in the usual Apache::Session style. The keys ldapServer, ldapBase, ldapBindDN, ldapBindPassword are required. The key ldapPort, ldapObjectClass, ldapAttributeId, ldapAttributeContent, ldapAttributeIndex, and ldapRaw are optional. Example:

 tie %s, 'Apache::Session::Browseable::LDAP', undef,
    {
        ldapServer           => 'localhost',
        ldapBase             => 'dc=example,dc=com',
        ldapBindDN           => 'cn=admin,dc=example,dc=com',
        ldapBindPassword     => 'pass',
        Index                => 'uid ipAddr',
        ldapObjectClass      => 'applicationProcess',
        ldapAttributeId      => 'cn',
        ldapAttributeContent => 'description',
        ldapAttributeIndex   => 'ou',
        ldapRaw              => '(?i:^jpegPhoto|;binary)',
    };

Pod errors

Hey! The above document had some coding errors, which are explained below:

Around line 276:

Non-ASCII character seen before =encoding in 'Clément'. Assuming UTF-8

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From libapache-session-browseable-perl 1.3.16-1+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.