use ResourcePool::Resource::Net::LDAP; my $resource = ResourcePool::Resource::Net::LDAP->new( $factory, $hostname, [@NamedBindOptions], [@NamedNewOptions]);
This class is used by the ResourcePool internally to create Net::LDAP connections. Its called by the corresponding ResourcePool::Factory::Net::LDAP object which passes the parameters needed to establish the Net::LDAP connection.
Performs a bind(), either anonymous or with dn and password (depends on the arguments to ResourcePool::Factory::Net::LDAP).Returns: Returns true on success and false if the bind failed (regardless of the reason)
Does not implement any postcheck().Returns: always true
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.