On Wed, Dec 16, 2009, Chuck McIntyre wrote:
> 636 is TLS though. Changing the port won't help unless ldap.monitor
> detects that and supports TLS, does it? I'm not currently using mon
> but I recall having to make my own.

636 is SSL, not TLS.  You'll need to 'use Net::LDAPS' instead of
'Net::LDAP' in conjunction with --port 636 for that to work (and have
the requisite IO::Socket::SSL module installed.)

Or, if you really meant TLS, add

    $ldap->start_tls( verify => 'none' );

Somewhere after the new(), but before the bind() in the monitor script.

Mahlon E. Smith  

Attachment: pgpDtQXrjCzU9.pgp
Description: PGP signature

mon mailing list

Reply via email to