Hello,
I'm trying to get AAD DS LDAPS working for me, I'm not really interested in the vnet side of the services, but the public IP LDAPS.
I followed the guide:
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-configure-ldaps
but LDAP.exe states it cannot connect:
ld = ldap_sslinit("ldaps.gain-i.com", 636, 1); Error <0x51> = 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 ldaps.gain-i.com.
The certificate is self signed as stated in the guide and the ip and host name has been added to the host file. The cert as stated in the guide is a wildcard for the domain.
Rules are fine on the NSG and Test-NetConnection comes back true to port 636.