Apache...n::LDAP(3pm)
π Apache::Session::LDAP π
okay so bestie, welcome to Apache::Session::LDAP(3pm) β yes that's the whole name, she's fancy, she's a Perl module from the User Contributed Perl Documentation era, and she is literally about to make your sessions live inside an LDAP directory instead of some boring file somewhere. no cap. π
β¨ NAME β¨
Apache::Session::LDAP β an implementation of Apache::Session. that's it, that's the whole vibe. she's a session backend, and she chose LDAP as her home. π
β¨ SYNOPSIS β¨
here's how you actually tie the knot (pun intended, we love a pun) π«Ά:
use Apache::Session::LDAP;
tie %hash, 'Apache::Session::LDAP', $id, {
ldapServer => 'ldap://localhost:389',
ldapConfBase => 'dmdName=applications,dc=example,dc=com',
ldapBindDN => 'cn=admin,dc=example,dc=com',
ldapBindPassword => 'pass',
ldapObjectClass => 'applicationProcess',
ldapAttributeId => 'cn',
ldapAttributeContent => 'description',
ldapVerify => 'require',
ldapCAFile => '/etc/ssl/certs/ca-certificates.crt',
};
look at her. all those little keys and values, living their best life. copy them exactly, bestie, don't get cute with the spelling. π
β¨ DESCRIPTION β¨
so the tea is: this module is an implementation of Apache::Session. the way she works is she uses an LDAP directory to store datas. yes, "datas". we're keeping it. it's iconic. π
basically, instead of your session info hanging out in a file or a database, it gets to chill in your LDAP directory. main character energy for your hash. β¨
β¨ AUTHOR β¨
Xavier Guimard, <x.guimard@free.fr> β the original genius who made this happen. give her her flowers. πΈ
β¨ 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.
translation: it's free, it's Perl-licensed, 5.10.0 or anything newer, do your thing, just respect the terms. π
β¨ SEE ALSO β¨
Apache::Sessionβ the parent vibe, go read her too π¦
lowkey important: everything above is exactly what's in the original, i did not add a single extra option or invent any behaviour. the facts stay pristine, the energy is just β¨elevatedβ¨. iykyk.
and that's a wrap, bestie π this page came from perl v5.30.3, dated 2020-09-08, and the whole thing is filed under Apache...n::LDAP(3pm). slay. πβπ
π¦ 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