You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Fish - <se...@gmail.com> on 2025/04/29 11:43:32 UTC
Using mod_ldap from handler scripts
Is it possible to make arbitrary ldap requests via mod_ldap from within a
handler script?
I have a number of handler scripts running in an environment which
successfully uses mod_authnz_ldap (and, hence, mod_ldap) for authentication
and authorisation against an external Active Directory server. I'd like to
query the ldap server from these scripts but don't really want to make a
separate connection and bind for each, if I can avoid it. Is it possible
to leverage the existing connection maintained by mod_ldap?
(I have spent a long time searching for information on this topic but all
my search results are overwhelmingly dominated by instructions for getting
authentication and authorisation running, which I've already done.)
I am running Apache/2.4.58 (Ubuntu) on Ubuntu 24.04.2. Let me know if any
other information would be useful.
Yours,
<°}}}>«<