03 Jan 2021 17:37:50 UTC
- Distribution: perl-ldap
- Module version: 0.06
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (1368 / 17 / 0)
- KwaliteeBus factor: 1
- 46.59% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity24 month
- Download (310.74KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:7 non-PAUSE usersMARSCHAP Peter Marschalland 1 contributors
- Peter Marschall
Net::LDAPS - use LDAP over an SSL connection
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/');
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 Net::LDAP.
All the normal
Net::LDAPmethods can be used with a
Net::LDAPSobject; see Net::LDAP for details.
- new ( HOST [, OPTIONS ] )
Create a new connection. HOST is the hostname to contact. OPTIONS is a number of key/value pairs. See "new" in Net::LDAP for details.
You cannot have more than one LDAPS connection at any one time, due to restrictions in the underlying Net::SSLeay code.
Chris Ridd <email@example.com>
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.