LDAP Authentication

I can connect to LDAP server through the command line(using ping/telnet) but get an error when I test connection from the plugin.

2252 views December 27, 2017 July 1, 2019 yashasvi 5

This issue usually occurs for users whose WordPress is hosted on CentOs server. this error because SELinux Boolean httpd_can_network_connect is not set.
Follow these steps to resolve the issue:
1. Run command: setsebool-P httpd_can_network_connect on
2. Restart apache server.
3. Run command: getsebool-a|grep httpd and make sure that httpd_can_network_connect is on
4. Try Ldap connect from the plugin again

Was this helpful?