w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Mamp Apache Ldap Support

Enalble it

a2enmod authnz_ldap
a2enmod ldap
/etc/init.d/apache2 restart

In htaccess you use

AuthType Basic
AuthName "secured site"
AuthBasicProvider ldap

AuthLDAPUrl "ldap://server/ou=People,dc=example,dc=local"
AuthLDAPBindDN "cn=reader,dc=example,dc=local"
AuthLDAPBindPassword the_secret_one
AuthzLDAPAuthoritative Off
Require valid-user




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.