Compdigitec Labs

« | Home | »

Apache Active Directory authentication

By admin | September 15, 2013

Add this to /etc/ldap/ldap.conf:

REFERRALS off

Then add this to a block:

 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 | 6 Comments »

6 Responses to “Apache Active Directory authentication”

  1. Jaxx Liberty Says:
    November 11th, 2024 at 09:58

    … [Trackback]

    […] Read More Information here on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

  2. zbet911 Says:
    November 12th, 2024 at 17:42

    … [Trackback]

    […] Find More Information here to that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

  3. paint protection film Says:
    November 14th, 2024 at 15:49

    … [Trackback]

    […] Find More on to that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

  4. โป๊กเกอร์ Says:
    November 27th, 2024 at 22:26

    … [Trackback]

    […] There you can find 98990 additional Info on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

  5. สล็อตแตกง่าย ทำเงินได้จริง Says:
    November 29th, 2024 at 18:56

    … [Trackback]

    […] There you will find 83174 additional Information to that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

  6. mepay168 Says:
    December 4th, 2024 at 18:32

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2013/09/15/apache-active-directory-authentication/ […]

Comments