mprahl / ADReset

Not Maintained: ADReset is a self-service Active Directory password reset portal
GNU General Public License v3.0
62 stars 34 forks source link

I am getting an Error .The AD connection was not successful. #12

Open pkallatkl opened 5 years ago

pkallatkl commented 5 years ago

Hi Matt,

I am getting an Error .The AD connection was not successful. Please check your settings. Nothing blocking the communication. I Can also telnet to the domain controller on port 636

mprahl commented 5 years ago

If I were to guess, it's probably a certificate trust issue. If you're deploying this on Linux, is TLS_CACERT in /etc/ldap/ldap.conf correctly configured?

spaschoalick commented 4 years ago

Good evening!

I performed the installation on Centos7 and I am having an AD connection failure

Can you tell me if you use ldapsearch to perform the queries? If so, can you tell me in which file? I'm looking and I can't find it.

Making a call in BASH with the command below I get the expected return. Maybe I can't connect because the filter is different?

ldapsearch -x -h IP -D "USER @ FQDN" -W -b "cn = users, dc = DOMAIN, dc = COM" -s sub "(cn = *)" cn mail sn