DsGetDcName, DsEnumerateDomainTrustsW, LookupAccountSid via 636

Nikita Krivets 481 Reputation points
2020-10-13T12:49:46.657+00:00

Hello,

There some Win API methods (DsGetDcName, DsEnumerateDomainTrustsW, LookupAccountSid) I would like to use with 636 port.

Could you please tell me if there is any way to make this API working via 636 port?

If there is no way to do that, what are the alternatives?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,575 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2020-10-19T14:43:18.527+00:00

    Active Directory natively uses quite a range of services and outgoing ports. Since you want to limit use on port 636 you should read up on how to setup LDAPS (LDAP over SSL) on Windows

    33411-image.png

    --please don't forget to Accept as answer if the reply is helpful--

    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2020-10-13T13:10:29.173+00:00

    Something here might help.
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/enable-ldap-over-ssl-3rd-certification-authority

    --please don't forget to Accept as answer if the reply is helpful--


  2. Vicky Wang 2,636 Reputation points
    2020-10-15T06:15:14.267+00:00

    Hi,
    Thanks for the update
    If there are other needs, you can continue to update
    Best wishes
    Vicky

    0 comments No comments

  3. Vicky Wang 2,636 Reputation points
    2020-10-19T08:59:22.643+00:00

    Hi,
     
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
     
    Best Regards,
    Vicky


  4. Vicky Wang 2,636 Reputation points
    2020-10-26T08:25:26.867+00:00

    Hi,
     
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
     
    Best Regards,
    Vicky

    0 comments No comments