Hi,

I am wondering if someone can help me out.  I am trying to use the
Net::LDAP module on perl 5.8 on a HP-UX 11.i server.  I have installed
the module and its dependent.

I have the following in my script:

#!/opt/perl/bin

use Net::LDAP;
use warnings;

$ad = Net::LDAP->new("ldap://my.company.com";)
  or die("Could not connect to LDAP server.");

$mesg = $ad->bind("jimbob");

$mesg->code && die $mesg->error;

$ad->unbind

When I run this I get:
This server requires a TLS connection at perlad.pl line 11, <DATA> line
225.

I am not sure why it is needs TLS for the connection.  Anyone have any
thoughts.  

Thanks,
Scott

Reply via email to