Autenticação no Apache pelo NIS

De LCAD
Revisão de 15h39min de 2 de outubro de 2007 por 200.137.66.176 (discussão)
Ir para: navegação, pesquisa

yum install perl-ExtUtils-AutoInstall.noarch

yum install mod_perl.i386 perl-Net-NIS cd Net-NIS-0.34/ perl Makefile.PL make make install

Apache-AuthenNIS cd Apache-AuthenNIS-0.13 perl Makefile.PL [n] [y] make [q] make install

       **************** NOTICE *********************
       If you are planning to use mod_perl2 and Apache2, please, do not
       answer yes when prompted to install mod_perl.  You will need to
       download mod_perl2 manually from
       http://perl.apache.org/download/index.html
       *********************************************
   *** ExtUtils::AutoInstall version 0.63
      • Checking for dependencies...

[Core Features] - Net::NIS ...loaded. (0.34) - mod_perl ...missing. ==> Auto-install the 1 mandatory module(s) from CPAN? [y] n ==> The module(s) are mandatory! Really skip? [n] y

      • ExtUtils::AutoInstall configuration finished.

Checking if your kit is complete... Looks good Writing Makefile for Apache::AuthenNIS


Substitua o arquivo AuthenNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo .

Apache_AuthZNIS cd Apache-AuthZNIS-0.11 perl Makefile.PL make make install Substitua o arquivo AuthezNIS.pm em /usr/lib/perl5/site_perl/5.8.8/Apache/ por este arquivo .