question

RP-8934 avatar image
0 Votes"
RP-8934 asked JamesTran-MSFT commented

Trouble connecting to Azure AD DS LDAPS

Setup a LDAPS server in Azure with Azure AD DS following this guide: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-configure-ldaps and having trouble when attempting to connect to it using LDP.exe.

Should preface by saying we do not have any on site servers or domain controllers, everything is done in Azure

I keep receiving the error code:
Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
Error 81 = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect

LDAP has been setup with privately signed cert, has the domain configured properly and has the port forwarding 636 rule setup in the network security group. Unsure as to why I cannot connect to the LDAP server. What am I missing?

azure-ad-domain-services
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Boa noite,

A conexão via 389 está funcionando pelo ldp.exe?

O certificado foi gerado para o mesmo endereço usado no teste do ldp.exe?



0 Votes 0 ·

@RP-8934
Thank you for your post!

  • From your error message and referencing the documentation that you followed, can you confirm that you completed all the steps within the Enable secure LDAP for Azure AD DS section?

  • If you're still having issues after making sure you completed the steps, can you share what part of the documentation is causing the issue?


Troubleshooting
If you see an error stating that LDAP.exe cannot connect, try working through the different aspects of getting the connection:

  1. Configuring the domain controller

  2. Configuring the client

  3. Networking

  4. Establishing the TLS session


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

0 Answers