Apache-AuthNetLDAP
view release on metacpan or search on metacpan
AuthNetLDAP.pm view on Meta::CPAN
# Set if you want to limit access to a subset of users:
#PerlSetVar LDAPFilter "(&(course=CSA)(class=A))" #optional
# Set if you want to allow an alternate method of authentication
PerlSetVar AllowAlternateAuth yes | no
require valid-user
PerlAuthenHandler Apache::AuthNetLDAP
If you don't have mod_perl or Net::LDAP installed on your system, then the Makefile will prompt you to
install each of these modules. At this time, March 8, 2004, you may say yes to Net::LDAP, and yes for
mod_perl, if you are installing this module on apache 1.3. (The reason being, that mod_perl 2 is under
development, and is not ready for download from CPAN at this time. Therefore, your install of mod_perl,
as initiated with the Makefile.PL, will fail. If you are going to install mod_perl 2, which is needed
to work with Apache2, you will need to download it from: http://perl.apache.org/download/index.html.
(Installation is beyond the scope of this document, but you can find documentation at:
http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source.)
Otherwise installation is the same.
You may also notice that the Makefile.PL will ask you to install ExtUtils::AutoInstall. This is
necessary for the installation process to automatically install any of the dependencies that you
are prompted for. You may choose to install the module, or not.
=head1 HOMEPAGE
Module Home: http://search.cpan.org/author/SPEEVES/
=head1 AUTHOR
Mark Wilcox mewilcox@unt.edu and
Shannon Eric Peevey speeves@unt.edu
Revision history for Perl extension Apache::AuthNetLDAP.
0.01 Wed Aug 16 09:07:59 2000
- original version; created by h2xs 1.19
0.20 Mon Jun 10 06:33:30 2003
- Makefile.PL updated to prompt for automatic downloading of module dependencies.
- using ExtUtils::AutoInstall Makefile now prompts for prereqs Net::LDAP and mod_perl
- AuthNetLDAP.pm modified to work with both mod_perl 1 and mod_perl-1.99 or greater
0.21 Tue Jun 11 06:33:30 2003
- Move $VERSION number variable above the BEGIN block so that PAUSE will
recognize the $VERSION number of the module
0.22 Wed Jun 12 06:33:30 2003
- Try to fix the "extended" text in the documentation of module
0.23 Wed Jun 12 06:33:30 2003
Makefile.PL view on Meta::CPAN
$^X,"-MCPANPLUS","-e","CPANPLUS::install $p");eval"use $p $v;1"
||system('sudo', $^X, "-MCPAN", "-e", "CPAN::install $p")}eval{
require CPANPLUS;CPANPLUS::install$p};eval"use $p $v;1"or eval{
require CPAN;CPAN::install$p};eval"use $p $v;1"||die"*** Please
manually install $p $v from cpan.org first...\n"}}}
# notify the user about mod_perl 2
BEGIN { print q{
**************** 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
*********************************************
} }
# optional pre-install handler; takes $module_name and $version
# sub MY::preinstall { return 1; } # return false to skip install
# optional post-install handler; takes $module_name, $version, $success
# sub MY::postinstall { return; } # the return value doesn't matter
( run in 1.136 second using v1.01-cache-2.11-cpan-6aa56a78535 )