« Reverse proxy HTTPS with Apache | Home | Importing upstream tarballs in Debian with gbp import-orig »
Apache Active Directory authentication
By admin | September 15, 2013
Add this to /etc/ldap/ldap.conf:
REFERRALS off
Then add this to a
AuthLDAPBindDN "ApacheUser@example.com" AuthLDAPBindPassword "the password used for apache lookups" AuthLDAPURL "ldap://192.168.88.2:389/dc=example,dc=com?sAMAccountName?sub?(objectClass=user)" NONE AuthzLDAPAuthoritative off AuthBasicProvider ldap AuthType Basic AuthName "Please enter your computer logon (Active Directory) to enter." # Important, otherwise you get "(9)Bad file descriptor: Could not open password file: (null)" AuthUserFile /dev/null Require ldap-group cn=Users Require valid-user
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 5 Comments »
September 14th, 2024 at 21:41
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]
September 16th, 2024 at 20:11
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]
September 22nd, 2024 at 09:07
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]
September 22nd, 2024 at 21:38
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]
October 5th, 2024 at 09:49
… [Trackback]
[…] There you will find 73369 additional Info on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]