Version 1/4
-
Next » -
Current version
Bryan Heath, 06/08/2012 01:42 pm
Configure Required¶
Everything is pretty well documented in the /ldap/config.php file however here is a more inclusive documentation
For all the examples below we will be using mysite.com as the AD prefix and DC=mysite,DC=com as the base DN
$ldap_domain_info = array('@mydomain.local' => 'DC=mydomain,DC=local');
This is the LDAP domain info.
- You can have more than one domain if needed.
- It goes AD Prefix => Base DN
Example:¶
$ldap_domain_info = array('@mysite.com' => 'DC=mysite,DC=com');
Lets say you have a second domain called mysite2.net that you want to authenticate to as well:$ldap_domain_info = array('@mysite.com' => 'DC=mysite,DC=com', '@mysite2.net' => 'DC=mysite2,DC=net');
$ldap_domain_controllers = array('dc01.mydomain.local');
Domain controller(s).
- You can use DNS names or IPs
- You can also have more than one
Example:¶
$ldap_domain_controllers = array('dc01.mysite.com');
More than one:$ldap_domain_controllers = array('dc01.mysite.com', '192.168.1.2', 'dc04.mysite.com');
$staff_groups = array('Group' => 'Staff');
Example:¶