LDAP authentication
Limit access to the manual directory by providing LDAP based authentication. Follow the subsequent steps:
-
Create a test user account “tuser” on your local LDAP server and provide a SMD5 hashed password of your choice using Apache Directory Studio.
-
Test LDAP bind access by user using Apache Directory Studio.
-
Configure
Require valid-user
in your apache configuration as being shown in “Using multiple providers” (but using just LDAP authentication rather than enabling “file” as well).Note: LDAP support in Apache requires the activation of a corresponding module.
Tip
You may want to set olcLogLevel: stats
(or similar)
in /etc/ldap/slapd.d/cn\=config.ldif
to watch
related messages in /var/log/syslog and the Apache related logs in
case of a misconfiguration.