joeware - never stop exploring... :)

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

Archive for December, 2018

Finding Domain Controllers On Any Platform Using DNS and LDAP – Alternate Working Title: Generic Platform Agnostic DC Locator

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

1. Determine if your application has been configured to use a specific named Domain Controller, if so use it.     a. For debugging purposes only     b. Application specific (where do you keep your configuration info?) 2. Determine if your application has been configured to use a specific named Site at startup, if so do […]

Horrible Multilevel Bullets / Numbering…

by @ Friday, December 7th, 2018. Filed under general

…Yeah I know, I hate it too…    joe Rating 4.60 out of 5

Finding Domain Controllers on Windows using Windows API (DsGetDC.h) Calls the Long Way

by @ Friday, December 7th, 2018. Filed under tech

1. Determine if your application has been configured to use a specific named Domain Controller, use it.     a. For debugging purposes only     b. Application specific (where do you keep your configuration info?) 2. Determine if your application has been configured to use a specific named Site at startup, do not Autodiscover site.     […]

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         […]

Generic High-Level Steps for DC Locator Functionality

by @ Monday, December 3rd, 2018. Filed under tech

0. If you are on Windows use the Windows LDAP Library and let it handle all of this for you. 1. Determine if your application has been configured to use a specific named Domain Controller, use it.     a. For debugging purposes only 2. Determine if your application has been configured (hardcoded) to use a […]

DNS SRV Records

by @ Sunday, December 2nd, 2018. Filed under tech

Active Directory location capability is all based on open standards based DNS SRV records which are designed to offer location capability for ANY services. The DNS SRV record RFC is RFC2782 which you can find at https://www.ietf.org/rfc/rfc2782.txt. There are two main components of the SRV process for domain controllers; registration and lookup. First the domain […]

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