From LedHed's Wiki
(Created page with "== Down n Dirty == Use LDP.exe (Native on 2008+, or Support Tools on 2003- ) <br> Click Connect <br> Set hostname to the FQDN of the computer/server you're wanting to test <b...") |
|||
| Line 9: | Line 9: | ||
If successful, the output window should look something like this: (ERRORS are normal on a successful connection) | If successful, the output window should look something like this: (ERRORS are normal on a successful connection) | ||
| − | ld = ldap_sslinit(" | + | ld = ldap_sslinit("HOST.FQDN.LAN", 636, 1); |
Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3); | Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3); | ||
Error <0x0> = ldap_connect(hLdap, NULL); | Error <0x0> = ldap_connect(hLdap, NULL); | ||
Latest revision as of 05:32, 28 February 2015
Down n Dirty
Use LDP.exe (Native on 2008+, or Support Tools on 2003- )
Click Connect
Set hostname to the FQDN of the computer/server you're wanting to test
Set port = 636
Check SSL
Click Connect
If successful, the output window should look something like this: (ERRORS are normal on a successful connection)
ld = ldap_sslinit("HOST.FQDN.LAN", 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:
1> currentTime: 02/27/2015 21:11:03 Pacific Standard Time Pacific Daylight Time;