Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Secure LDAP connecion issues with *.onmicrosoft.com domain

$
0
0

Hi,

I have a goal to set up local office Synology NAS for users to autentificate with Office365 logins.
We do not have VPN to Azure, so I am trying to set up secure LDAP over internet with XXX.onmicrosoft.com domain.
I have set up Azure Domain Services using XXX.onmicrosoft.com domain, created self signed certificate, enabled Secure LDAP and LDAP over internet also I have opened port 636.
I have no problems to join domain or connect to LDAP using LDP.EXE from VM in Azure, but I can not connect to LDAP from my local office using LDP.EXE with SSL.
How do I need to connect to LDAP from my local office? Do I need to use secure LDAP external IP or domain name?

Here is error code from LDP tool when I try to connect to LDAP:

ld = ldap_sslinit("bnpfinance.onmicrosoft.lt", 636, 1);
Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3);
Error <0x51> = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect to bnpfinance.onmicrosoft.lt.


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>