Archive for April, 2007

mod_perl2 and Apache::AuthenNIS

Wednesday, April 18th, 2007

This has been a thorn in my side 3 times now while at work: how to get the aging Apache::AuthenNIS mod_perl module ported to work with mod_perl2 and Apache2. There is a slightly helpful thread here, but it didn’t fully help me. Eventually, I figured it: you have to port the module form within CPAN, then install it.

Here’s what I did:

  1. perl -MCPAN -e 'shell'
  2. get Apache::AuthenNIS
  3. look Apache::AuthenNIS
  4. Replace AuthenNIS.pm with Patched Apache::AuthenNIS.
  5. exit
  6. install Apache::AuthenNIS

From there, you follow the rest of the tutorial on Apache and NIS authentication here.

Hopefully this information is helpful to someone out there doing a Google search.