mod_ldap problem
Posted: Fri Jun 23, 2017 6:30 am
Hi everyone
I faced a problem that this configuration does not work in apache2 installed from VestaCP repo on Centos7:
But the very same configuration works fine on standard apache2 from EPEL repository
Has anyone encountered such a problem? How did you solve it?
Thanks
I faced a problem that this configuration does not work in apache2 installed from VestaCP repo on Centos7:
Code: Select all
<AuthnProviderAlias ldap ldap-users>
AuthLDAPURL "ldap://ldap.example.com:389/dc=example,dc=com?uid?sub?(objectClass=inetOrgPerson)"
AuthLDAPBindDN "uid=user,cn=users,dc=example,dc=com"
AuthLDAPBindPassword "*****"
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
</AuthnProviderAlias>
<VirtualHost 10.0.0.1:80>
ServerAdmin [email protected]
ServerName ldapauth.example.com
<Directory /home/ldapauth/web/ldapauth.example.com/public_html/>
Require all granted
</Directory>
<Location />
AuthType Basic
AuthName "Please enter your LDAP credentials"
AuthBasicProvider ldap-users
Require valid-user
</Location>
</VirtualHost>
Has anyone encountered such a problem? How did you solve it?
Thanks