Skip to content

Instantly share code, notes, and snippets.

@gmarnin
Created October 6, 2014 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmarnin/dc2d801332903319f7d8 to your computer and use it in GitHub Desktop.
Save gmarnin/dc2d801332903319f7d8 to your computer and use it in GitHub Desktop.
Munkireport-php AD Auth
$conf['auth']['auth_AD']['account_suffix'] = '@domain.edu';
$conf['auth']['auth_AD']['base_dn'] = 'DC=something,DC=domain,DC=edu'; //set to NULL to auto-detect
$conf['auth']['auth_AD']['domain_controllers'] = array('dc1.domain.edu','dc2.domain.edu'); //can be an array of servers
$conf['auth']['auth_AD']['admin_username'] = NULL; //if needed to perform the search
$conf['auth']['auth_AD']['admin_password'] = NULL; //if needed to perform the search
$conf['auth']['auth_AD']['mr_allowed_groups'] = array('group1','IT group2'); //case sensitive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment