
我嘗試使用 perl Net::LDAPs 建立 AD 伺服器( w2k12 )的安全連線。
腳步:
$ldaps = Net::LDAPS->new('AD.server.ip', port => '636', verify => 'none', capath => 'W2K12AD-0-CA');
$binddn = "Administrator\@NAS.net";
$mesg = $ldaps->bind (dn=>$binddn, password=>'xxxx' );
給我錯誤如下:
errorMessage' => 'I/O Error An existing connection was forcibly closed by the remote host.
任何幫助都會很棒。