ResourcePool::Factory::Net::LDAPapi - A Net::LDAPapi Factory for ResourcePool
use ResourcePool::Factory::Net::LDAPapi; my $factory = ResourcePool::Factory::Net::LDAPapi->new([NewOptions]);
This class is a factory class for Net::LDAPapi resources to be used with the ResourcePool.
Please have a look at the ResourcePool::Factory documentation to learn about the purpose of such a factory.
All parameters passed to new() are passed to Net::LDAPapi->new(). See Net::LDAPapi for full list.
new()
Net::LDAPapi->new()
All parameters passed to bind() are passed to Net::LDAPapi->bind_s(). See Net::LDAPapi for full list.
bind()
Net::LDAPapi->bind_s()
Please note that this module will always do a bind to the LDAP server, if you do not specify any bind arguments the bind will be anonymously. The bind() call is used to check the vitality of the LDAP connection, if it fails ResourcePool will throw it away..
use ResourcePool; use ResourcePool::Factory::Net::LDAPapi; my $factory = ResourcePool::Factory::Net::LDAPapi->new(-host => "ldaphost"); $factory->bind(-dn => 'cn=admin,dc=example,dc=com', -password => 'secret');
Net::LDAPapi, ResourcePool, ResourcePool::Factory, ResourcePool::Resource::Net::LDAPapi
Copyright (C) 2015 by Phillip O'Donnell <podonnell@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2001-2003 by Markus Winand <mws@fatalmind.com>
To install ResourcePool::Resource::Net::LDAPapi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ResourcePool::Resource::Net::LDAPapi
CPAN shell
perl -MCPAN -e shell install ResourcePool::Resource::Net::LDAPapi
For more information on module installation, please visit the detailed CPAN module installation guide.