1Net::LDAPS(3)         User Contributed Perl Documentation        Net::LDAPS(3)
2
3
4

NAME

6       Net::LDAPS - use LDAP over an SSL connection
7

SYNOPSIS

9        use Net::LDAPS;
10
11        $ldaps = Net::LDAPS->new('myhost.example.com',
12                                 port => '10000',
13                                 verify => 'require',
14                                 capath => '/usr/local/cacerts/');
15
16        # alternate way
17        use Net::LDAP;
18
19        $ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',
20                                verify => 'require',
21                                capath => '/usr/local/cacerts/');
22

DESCRIPTION

24       Communicate using the LDAP protocol to a directory server using an
25       encrypted (SSL) network connection. This mechanism is non-standard but
26       widely supported; consider using LDAPv3 with the standard TLS extension
27       if possible (many servers do not support it yet.) See "start_tls" in
28       Net::LDAP.
29
30       All the normal "Net::LDAP" methods can be used with a "Net::LDAPS"
31       object; see Net::LDAP for details.
32

CONSTRUCTOR

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

SEE ALSO

39       Net::LDAP, IO::Socket::SSL
40

BUGS

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

AUTHOR

46       Chris Ridd <chris.ridd@isode.com>
47
49       Copyright (c) 2000-2004, Chris Ridd and Graham Barr. All rights
50       reserved. This library is free software; you can redistribute it and/or
51       modify it under the same terms as Perl itself.
52
53
54
55perl v5.32.1                      2021-02-16                     Net::LDAPS(3)
Impressum