perl-Apache-AuthenProgram - mod_perl external program authentication module

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Apache-AuthenProgram
Package version 0.90
Package release alt1
Package architecture noarch
Package type rpm
Installed size 11.37 KB
Download size 11.37 KB
Official Mirror
<Directory /foo/bar>
AuthName "Foo Bar Authentication"
AuthType Basic
PerlSetVar AuthenProgram         /usr/local/Samba-2.2.3a/bin/smbclient
PerlSetVar AuthenProgramSuccess  "OK: SMB login succeeded"
PerlSetVar AuthenProgramArg1     thompdc4
PerlSetVar AuthenProgramArg2     netlogon
PerlAuthenHandler Apache::AuthenProgram
require valid-user
These directives can be used in a .htaccess file as well.
If you wish to use your own PerlAuthzHandler then the require
directive should follow whatever handler you use.
This mod_perl module provides a reasonably general mechanism
to perform username/password authentication in Apache by
calling an external program.  Authentication by an external
program is useful when a program can perform an authentication
not supported by any Apache modules (for example, cross-domain
authentication is not supported by Apache::NTLM or
Apache::AuthenSmb, but is supported by Samba's smbclient
You must define the program pathname AuthenProgram and the
standard output success string AuthenProgramSuccess.
The first two arguments to the program are the username and
either the password or a temporary file with the password,
depending on whether AuthenProgramPassword has the value "File".
"File" forces sending the password to AuthenProgram through a
temporary file to avoid placing passwords on the command line where
they can be seen by ps(1).
Additional program arguments can be passed in the variables
AuthenProgramArg1, AuthenProgramArg2, etc.  Up to 9 of these
variables are supported.
The examples/ subdirectory has sample programs for doing
Samba-based SMB authentication (examples/smblogon),
Oracle authentication (examples/oralogon), and
a simple example (examples/filelogon) that demonstrates communicating
the password through a temporary file.
If you are using this module please let me know, I'm curious how many
people there are that need this type of functionality.
This module was adapted from Apache::AuthenSmb.


Package Version Architecture Repository
perl-Apache-AuthenProgram - - -


Name Value
/usr/share/perl5 -
perl(Apache/ -
perl(File/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Apache/ = 0.900
perl-Apache-AuthenProgram = 0.90-alt1


Type URL
Binary Package perl-Apache-AuthenProgram-0.90-alt1.noarch.rpm
Source Package perl-Apache-AuthenProgram-0.90-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Apache-AuthenProgram rpm package:
    # sudo apt-get install perl-Apache-AuthenProgram



See Also

Package Description
perl-Apache-AuthenRadius-0.9-alt1.noarch.rpm Authentication via a Radius server
perl-Apache-AuthzUserDir-0.92-alt1.noarch.rpm mod_perl UserDir authorization module
perl-Apache-Bootstrap-0.07-alt1.noarch.rpm Bootstraps dual life mod_perl and mod_perl2 Apache modules
perl-Apache-BumpyLife-0.01-alt1.noarch.rpm mod_perl 1.x module for setting random value to MaxRequestsPerChild
perl-Apache-ConfigParser-1.02-alt1.noarch.rpm Load Apache configuration files
perl-Apache-ContentHandler-1.3.3-alt1.noarch.rpm mod_perl extension for uniform application
perl-Apache-DBI-Cache-0.08-alt1_27.noarch.rpm Perl DBI connection cache
perl-Apache-DBILogConfig-0.02-alt1.noarch.rpm Logs access information in a DBI database
perl-Apache-Dir-0.07-alt1.noarch.rpm Simple Perl Version of mod_dir
perl-Apache-DumpHeaders-0.94-alt1.noarch.rpm Watch HTTP transaction via headers
perl-Apache-EmbeddedPerl-Lite-0.06-alt1.noarch.rpm light weight embedded perl parser
perl-Apache-Emulator-0.06-alt1.noarch.rpm perl module Apache-Emulator
perl-Apache-FakeCookie-0.08-alt1.noarch.rpm fake request object for debugging
perl-Apache-FakeTable-0.06-alt1.noarch.rpm Pure Perl implementation of the Apache::Table interface
perl-Apache-FastForward-1.1-alt1.noarch.rpm new age of spreadsheet web services