|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: querying LDAP from mod-perl handlersby Corion (Patriarch) |
| on Apr 22, 2025 at 11:49 UTC ( [id://11164795]=note: print w/replies, xml ) | Need Help?? |
|
I think this is mostly an issue of Apache configuration and not so much about Perl: mod_authnz_ldap completely relies on mod_ldap. The mod_ldap example configuration shows how to set up a cache for LDAP results. The next paragraph there discusses the (automatic...) connection pool. I think in your mod_perl handler, you will find the user already authenticated if you set up the appropriate mod_authnz_ldap rules for the path to your mod_perl handler(s). I now realize that you want to use the caching implemeneted in mod_ldap from your mod_perl handler. I think there should be documentation in mod_perl2 about how to call functionality exposed by other Apache modules, but I don't see anything there that would help you there...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||