Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


linux:ubuntu:apache_ad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:ubuntu:apache_ad [2017/11/28 22:03]
tplecko created
linux:ubuntu:apache_ad [2019/01/28 14:45] (current)
tplecko
Line 32: Line 32:
  
 If you plan to run a PHP script in that location, the username will be available to PHP in the $_SERVER['​REMOTE_USER'​] variable. If you plan to run a PHP script in that location, the username will be available to PHP in the $_SERVER['​REMOTE_USER'​] variable.
 +
 +<code | Group membership>​
 +AuthName "AD authentication"​
 +AuthBasicProvider ldap
 +AuthType Basic
 +AuthLDAPGroupAttribute member
 +AuthLDAPGroupAttributeIsDN On
 +AuthLDAPURL ldap://​{AD-Hostname/​IP}:​389/​cn=Users,​dc={your Domain DN}?​sAMAccountName?​sub?​(objectClass=*)
 +AuthLDAPBindDN cn=apache-connect,​cn=Users,​{your Domain DN}
 +AuthLDAPBindPassword {password}
 +require ldap-group cn=test,​cn=Users,​{your Domain DN}
 +</​code>​
linux/ubuntu/apache_ad.txt · Last modified: 2019/01/28 14:45 by tplecko