Skip to content

Instantly share code, notes, and snippets.

@mfilipe
Created May 17, 2017 15:07
Show Gist options
  • Save mfilipe/682e39446d348acbed5aa5d29267fed8 to your computer and use it in GitHub Desktop.
Save mfilipe/682e39446d348acbed5aa5d29267fed8 to your computer and use it in GitHub Desktop.
apache htaccess config
AuthLDAPURL ldaps://ldap.company.com:636/o=company.com?mail?sub?(objectclass=person)
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthName "Company Intranet Password"
AuthType basic
require ldap-group cn=Internal CGI,ou=memberlist,ou=companygroups,o=company.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment