Active Directory サーバーで SSL が適切に有効になっていることを確認するにはどうすればよいですか?
サーバー自体でldpを実行すると、636ポートで接続できると思います。
出力に次のようなものが表示されます。
ld = ldap_sslinit("localhost", 636, 1);
Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3);
Error <0x0> = ldap_connect(hLdap, NULL);
Error <0x0> = ldap_get_option(hLdap,LDAP_OPT_SSL,(void*)&lv);
Host supports SSL, SSL cipher strength = 128 bits
Established connection to localhost.
Retrieving base DSA information...
Result <0>: (null)
Matched DNs:
Getting 1 entries:
>> Dn:
**** and 10-12 more lines ****
これは、SSL が適切に有効になっていることを意味しますか?
2 ~ 4 行のエラーはどうでしょうか。
ありがとう。