When connecting to an AD DC, use the DsGetDCName variant.