Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD Connection Error #3

Closed
knightowl1000 opened this issue Sep 27, 2018 · 2 comments
Closed

AD Connection Error #3

knightowl1000 opened this issue Sep 27, 2018 · 2 comments

Comments

@knightowl1000
Copy link

Hi,

I know you're busy, but I had a question for you in regards to connecting an AD server. I'm running ADReset on a centos box. When trying to connect to the AD server, I get the following error: The Active Directory connection was not successful. Please check your settings.

I checked the error logs, but it has no entries. Do you know a way I can enable debugs to see the exact error to try and tackle that?

Thanks!

@knightowl1000
Copy link
Author

Solved it! So, it was an issue where I was able to bind via CLI but not via apache. I stumbled upon this: https://stackoverflow.com/questions/8291631/ldap-works-with-php-cli-but-not-through-apache and it turns out httpd_can_network_connect and httpd_can_connect_ldap were set to off. Changed them to on, restarted the services and I was able to save the connections under local admin!

@mprahl
Copy link
Owner

mprahl commented Oct 1, 2018

Nice! Thanks for sharing the solution.

@mprahl mprahl closed this as completed Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants