Apache...n::LDAP(3pm)

πŸ“¦
version 0.5 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 (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