Unix/Linux Go Back    

CentOS 7.0 - man page for net::ldaps (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Net::LDAPS(3)		       User Contributed Perl Documentation		    Net::LDAPS(3)

       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::LDAP" methods can be used with a "Net::LDAPS" object; 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.

       Net::LDAP, IO::Socket::SSL

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

       Chris Ridd <chris.ridd@isode.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

perl v5.16.3				    2013-06-07				    Net::LDAPS(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:40 AM.