AndreVM
Hello forum,
I would appreciate some help.
In Amazon Web Services (AWS) I started the OpenVPN server in 1 instance (Linux based) and active directory in another (Windows based).
The Active directory was created as part of the AWS directory service.
Now I try to connect to the active directory, but receive every time the following error log:
Cannot connect to LDAP server ldap://172.31.57.203/: {'desc': "Can't contact LDAP server"} (facility='admin_bind to [CN=Administrator, CN=Users, DC=corp, DC=mydomain, DC=nl]')
On the active directory I opened a Wireshark session and what I see is that the SYN-packet is replied every time by a ACK, RST.
I also pinged from OpenVPN to Active directory successfully.
Hope somebody can give some hints. If more details are needed, please let me know.
Andre
maikcat
if you use ldapsearch can you query your AD?
Michael.
AndreVM
Thanks for the tip, Michael.
I tried, but to no avail. Message from Active Directory server is "ldap_sasl_interactive_bind_s: "Can't contact LDAP server".
AndreVM
Thanks Michael.
I did what you said but to no avail. The message returned is "ldap_sasl_interactive_bind_s: Can't contact LDAP server"
AndreVM
Thanks Michael.
Error message returned: "ldap_sasl_interactive_bind_s: Can't contact LDAP Server
maikcat
are you sure your AD uses ldap instead of ldaps?
can you verify that your AD responds to requests?
Michael.
AndreVM
Thanks for your response, Michael. I really appreciate it.
I tested OpenVPN to Active Directory using ldap and ldaps both, but to no avail. I see that pinging is working, but the ldapsearch gives the same response. I also did the same Active Directory implementation on a Windows 2008 server but same response.
Can you please explain or refer me to a webpage how I can verify that AD responds to requests?