Apache LDAP Authentication
OK, I've searched all day and followed every guide I can and I'm still not getting anywhere with this.
I'm running:
RHEL 7.4
httpd 2.4.6-67
mod_ldap 2.4.6-67
and no matter what I put in the config for ldap I get the same error:
AH00526: Syntax error on line 8 of /etc/httpd/conf.modules.f/ldap.conf:
Unknown Authn provider: ldap
the offending config file is here:
SetHandler ldap-status
Require host internal.domain
Satisfy any
AuthType Basic
AuthName "LDAP/AD Authentication"
AuthBasicProvider ldap
AuthLDAPURL "ldap://hostname/dc=internal,dc=domain?uid?one"
Require valid-user
I've tried in the vhost config and in the above ldap config and get the same error.
Against better judgement I also disabled selinux (setenforce 0) but to no avail.
Any thoughts anybody?
Andy
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
