perl-Apache-AuthenProgram-0.90-alt1.noarch.rpm


Advertisement

Description

perl-Apache-AuthenProgram - mod_perl external program authentication module

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: ftp.altlinux.org
<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 </Directory> 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. = head1 DESCRIPTION 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 program). 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.

Alternatives

Requires

Provides

  • perl(Apache/AuthenProgram.pm) = 0.900
  • perl-Apache-AuthenProgram = 0.90-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

    Files

    • /usr/share/doc/perl-Apache-AuthenProgram-0.90/Changes
    • /usr/share/doc/perl-Apache-AuthenProgram-0.90/README
    • /usr/share/doc/perl-Apache-AuthenProgram-0.90/examples/filelogon
    • /usr/share/doc/perl-Apache-AuthenProgram-0.90/examples/oralogon
    • /usr/share/doc/perl-Apache-AuthenProgram-0.90/examples/smblogon
    • /usr/share/perl5/Apache/AuthenProgram.pm
    Advertisement
    Advertisement