Apache...::LDAP(3pm)

NAME πŸ’–

Apache::Session::Browseable::Store::LDAP β€” Use LDAP to store persistent objects.

okay bestie, welcome to the Apache...::LDAP(3pm) page from the User Contributed Perl Documentation pile. This is the whole name, no cap.


SYNOPSIS ✨

the whole flow is giving:

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);

DESCRIPTION πŸ¦‹

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.

Required keys πŸ”‘

  • ldapServer β€” required, bestie.
  • ldapBase β€” required.
  • ldapBindDN β€” required.
  • ldapBindPassword β€” required.

Optional keys 🌸

  • ldapPort β€” optional.
  • ldapObjectClass β€” optional.
  • ldapAttributeId β€” optional.
  • ldapAttributeContent β€” optional.
  • ldapAttributeIndex β€” optional.
  • ldapRaw β€” optional.

And yes, the example also passes Index => 'uid ipAddr' β€” keep that exactly as written, iykyk.

Example, periodt:

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)',
   };

the credits, because we respect the icons:

  • 2009-2025 by Xavier Guimard
  • 2013-2025 by ClΓ©ment Oudot
  • 2019-2025 by Maxime Besson
  • 2013-2025 by Worteks
  • 2023-2025 by Linagora
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO 🌈

  • Apache::Session β€” go peek, that's the main character.

POD ERRORS πŸ’€

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

Around line 281: Non-ASCII character seen before =encoding in 'ClΓ©ment'. Assuming UTF-8

mwah πŸ’‹ β€” this was Apache...::LDAP(3pm) from User Contributed Perl Documentation, source/version perl v5.40.1, dated 2026-05-14. now go store those persistent objects, bestie 🫢

πŸ“¦ where this page comes from