Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::LDAPS

Name Net::LDAPS
Version 0.06
Located at /usr/local/share/perl5
File /usr/local/share/perl5/Net/LDAPS.pm
Is Core No
Search CPAN for this module Net::LDAPS
Documentation Net::LDAPS
Module Details Net::LDAPS

NAME

Net::LDAPS - use LDAP over an SSL connection


SYNOPSIS

 use Net::LDAPS;
 $ldaps = Net::LDAPS->new('myhost.example.com',
                          port => '10000',
                          verify => 'require',
                          capath => '/usr/local/cacerts/');
 # alternate way
 use Net::LDAP;
 $ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',
                         verify => 'require',
                         capath => '/usr/local/cacerts/');


DESCRIPTION

Communicate using the LDAP protocol to a directory server using an encrypted (SSL) network connection. This mechanism is non-standard but widely supported; consider using LDAPv3 with the standard TLS extension if possible (many servers do not support it yet.) See start_tls in the Net::LDAP manpage.

All the normal Net::LDAP methods can be used with a Net::LDAPS object; see the Net::LDAP manpage for details.


CONSTRUCTOR

new ( HOST [, OPTIONS ] )
Create a new connection. HOST is the hostname to contact. OPTIONS is a number of key/value pairs. See new in the Net::LDAP manpage for details.


SEE ALSO

the Net::LDAP manpage, the IO::Socket::SSL manpage


BUGS

You cannot have more than one LDAPS connection at any one time, due to restrictions in the underlying Net::SSLeay code.


AUTHOR

Chris Ridd <chris.ridd@isode.com>


COPYRIGHT

Copyright (c) 2000-2004, Chris Ridd and Graham Barr. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024