joeware - never stop exploring... :)

Information about joeware mixed with wild and crazy opinions...

Archive for December 6th, 2018

Finding Domain Controllers on Windows using the Windows LDAP (winldap.h) Library (i.e. The Easy Way)

by @ Thursday, December 6th, 2018. Filed under tech

0. This does not follow the previously mentioned high level steps, this method is “I hand my problem over to Microsoft to figure out on my behalf”. 1. Call ldap_sslinit specifying domain name or forest name (for Global Catalog)     a. LDAP port         i. LDAP* pLdap=ldap_sslinit(L"domain.forestroot.com", LDAP_PORT, false);     b. LDAPS (SSL) port         […]

[joeware – never stop exploring… :) is proudly powered by WordPress.]