Apache...::LDAP(3pm)
β¨ NAME β¨
Apache::Session::Store::LDAP β bestie, it's literally a store that uses LDAP to keep your persistent objects alive πΎπ¦ (and yes, this is a User Contributed Perl Documentation page, iykyk)
πΈ SYNOPSIS πΈ
use Apache::Session::Store::LDAP;
my $store = new Apache::Session::Store::LDAP;
$store->insert($ref);
$store->update($ref);
$store->materialize($ref);
$store->remove($ref);
π DESCRIPTION π
Okay so here's the vibe: this module does the storage interface thing for Apache::Session π«Ά. The serialized objects get stashed in an LDAP directory file, and it pulls that off using the Net::LDAP Perl module. That's it, that's the whole personality π
π OPTIONS π
So like, this module needs one argument, in the classic Apache::Session style (you know the one π
). Here's the breakdown:
Required keys β you do NOT get to skip these, bestie, they're mandatory:
ldapServerβ the server, obviouslyldapBaseβ the baseldapBindDNβ the bind DNldapBindPasswordβ the bind password
Optional keys β these ones are the chill ones, add them if you want:
ldapPortldapObjectClassldapAttributeIdldapAttributeContent
Example, because a girl loves a concrete example β¨:
tie %s, 'Apache::Session::LDAP', undef,
{
ldapServer => 'localhost',
ldapBase => 'dc=example,dc=com',
ldapBindDN => 'cn=admin,dc=example,dc=com',
ldapBindPassword => 'pass',
ldapObjectClass => 'applicationProcess',
ldapAttributeId => 'cn',
ldapAttributeContent => 'description',
};
π AUTHOR π
Xavier Guimard, <guimard@> β we stan π«Ά
π COPYRIGHT AND LICENSE π
Copyright (C) 2009, 2012 by Xavier Guimard Copyright (C) 2014, 2015 by Clement Oudot
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. (Yes bestie, free software, no cap π)
π¦ SEE ALSO π¦
Apache::Session
And that's the whole page, periodt π
This one's from perl v5.30.3, dated 2020-09-08, filed under Apache...::LDAP(3pm) β mwah, slay, go store some objects πβ¨
π¦ where this page comes from
- debian bookworm: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache-session-ldap-perl 0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms