Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.970.165 Times

Apache2::AuthNetLDAP 0.01

  Date Added: January 05, 2010  |  Visits: 483

Apache2::AuthNetLDAP

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)



Apache2::AuthNetLDAP is a mod_perl module that uses the Net::LDAP module for user authentication for Apache. SYNOPSIS AuthName "LDAP Test Auth" AuthType Basic #only set the next two if you need to bind as a user for searching #PerlSetVar BindDN "uid=user1,ou=people,o=acme.com" #optional #PerlSetVar BindPWD "password" #optional PerlSetVar BaseDN "ou=people,o=acme.com" PerlSetVar LDAPServer ldap.acme.com PerlSetVar LDAPPort 389 #PerlSetVar UIDAttr uid PerlSetVar UIDAttr mail #PerlSetVar AlternatePWAttribute alternateAttribute #PerlSetVar SearchScope base | one | sub # default is sub #PerlSetVar LDAPFilter "(&(course=CSA)(class=A))" #optional # Set if you want to encrypt communication with LDAP server # and avoid sending clear text passwords over the network PerlSetVar UseStartTLS yes | no # Set if you want to allow an alternate method of authentication PerlSetVar AllowAlternateAuth yes | no require valid-user PerlAuthenHandler Apache2::AuthNetLDAP This module authenticates users via LDAP using the Net::LDAP module. This module is Graham Barrs "pure" Perl LDAP API. It also uses all of the same parameters as the Apache::AuthPerLDAP, but I have added four extra parameters. The parameters are: PerlSetVar BindDN Used to set initial LDAP user. PerlSetVar BindPWD Used to set initial LDAP password. PerlSetVar BaseDN This sets the search base used when looking up a user in an LDAP server. PerlSetVar LDAPServer This is the hostname of the LDAP server you wish to use. PerlSetVar LDAPPort This is the port the LDAP server is listening on. PerlSetVar UIDAttr The attribute used to lookup the user. PerlSetVar AlternatePWAttribute The an alternate attribute with which the $password will be tested. This allows you to test with another attribute, instead of just trying to bind the userdn and password to the ldap server. If this option is used, then a BindDN and BindPWD must be used for the initial bind. PerlSetVar AllowAlternateAuth This attribute allows you to set an alternative method of authentication (Basically, this allows you to mix authentication methods, if you dont have all users in the LDAP database). It does this by returning a DECLINE and checking for the next handler, which could be another authentication, such as Apache-AuthenNTLM or basic authentication. PerlSetVar SearchScope Optional. Can be base, one or sub. Default is sub. Determines the scope of the LDAP search. PerlSetVar LDAPFilter This is an LDAP filter, as defined in RFC 2254. This is optional. If provided, it will be ANDed with the filter that verifies the UID. For example, if you have these set: PerlSetVar UIDAttr uid PerlSetVar LDAPFilter "(&(course=41300)(year=3)(classCode=Y))" and a user authenticates with the username "nicku" then the following filter will be generated to search for the entry to authenticate against: (&(&(course=41300)(year=3)(classCode=Y))(uid=nicku)) This will then allow nicku access only if nickus LDAP entry has the attribute course equal to 41300, the attribute year equal to 3, and attribute classCode equal to Y. And of course, if the password is correct. This may be useful for restricting access to a group of users in a large directory, e.g., at a university. PerlSetVar UseStartTLS Optional; can be yes or no. If yes, will fail unless can start a TLS encrypted connection to the LDAP server before sending passwords over the network. Note that this requires that the optional module IO::Socket::SSL is installed; this depends on Net::SSLeay, which depends on openssl. Of course, the LDAP server must support Start TLS also..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Authentication Authnetldap Ldap Server Module Optional Perl Module Perlsetvar Perlsetvar Ldapfilter Perlsetvar Uidattr Server Uidattr User User Authentication
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


APACHE2::AUTHNETLDAP RELATED
Libraries  -  Mail::Bulkmail::Server 3.12
Mail::Bulkmail::Server is a Perl module that handles server connections and communication for Mail::Bulkmail. SYNOPSIS my $server = Mail::Bulkmail::Server->new( Smtp => your.smtp.com, Port => 25 ) || die Mail::Bulkmail::Server->error();...
71.68 KB  
Libraries  -  Samba::LDAP::Config 0.03
Samba::LDAP::Config is a Perl module to config file related tasks for Samba::LDAP. SYNOPSIS use Samba::LDAP::Config; my $config = Samba::LDAP::Config->new() or die "Cant create objectn"; # Returns where smbldap.conf, smbldap_bind.conf and...
81.92 KB  
Libraries  -  Speech::Recognizer::SPX::Server 0.0801
Speech::Recognizer::SPX::Server is a Perl module for writing streaming audio speech recognition servers using Sphinx2. SYNOPSIS my $sock = new IO::Socket(... blah blah blah ...); my $log = new IO::File(server.log); my $audio_fh = new...
91.14 KB  
Libraries  -  Net::LDAP::FAQ 0.34
Net::LDAP::FAQ is a Perl module with Frequently Asked Questions about Net::LDAP. SYNOPSIS perldoc Net::LDAP::FAQ This document serves to answer the most frequently asked questions on both the perl-ldap Mailing List and those sent to Graham...
256 KB  
Libraries  -  Samba::LDAP 0.03
Samba::LDAP is a Perl module to manage a Samba PDC with an LDAP Backend. SYNOPSIS use Carp; use Samba::LDAP; my $samba = Samba::LDAP->new() or croak "Cant create objectn"; my $domain = $samba->get_local_sid();.
81.92 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Module::Signature 0.55
Module::Signature is a Perl module signature file manipulation. SYNOPSIS As a shell command: % cpansign # verify an existing SIGNATURE, or # make a new one if none exists % cpansign sign # make signature; overwrites existing one %...
68.61 KB  
Libraries  -  Catalyst::Plugin::Dumper 0.000002
Catalyst::Plugin::Dumper is a Perl module with Data::Dumper plugin for Catalyst. SYNOPSIS use Catalyst qw/-Debug Dumper/; $c->log->dumper($myvar); $c->log->dumper($myvar, mylabel); This plugin injects a dumper() method into the...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB