Configure Required

Version 1 (Bryan Heath, 06/08/2012 01:42 pm)

1 1
h1. Configure Required
2 1
3 1
Everything is pretty well documented in the /ldap/config.php file however here is a more inclusive documentation
4 1
5 1
For all the examples below we will be using mysite.com as the AD prefix and DC=mysite,DC=com as the base DN
6 1
7 1
h2. @$ldap_domain_info = array('@mydomain.local' => 'DC=mydomain,DC=local');@
8 1
9 1
This is the LDAP domain info.  
10 1
* You can have more than one domain if needed.
11 1
* It goes AD Prefix => Base DN
12 1
13 1
h3. Example:
14 1
15 1
@$ldap_domain_info = array('@mysite.com' => 'DC=mysite,DC=com');@
16 1
17 1
Lets say you have a second domain called mysite2.net that you want to authenticate to as well:
18 1
@$ldap_domain_info = array('@mysite.com' => 'DC=mysite,DC=com', '@mysite2.net' => 'DC=mysite2,DC=net');@
19 1
20 1
h2. @$ldap_domain_controllers = array('dc01.mydomain.local');@
21 1
22 1
Domain controller(s).  
23 1
* You can use DNS names or IPs
24 1
* You can also have more than one
25 1
26 1
h3. Example:
27 1
28 1
@$ldap_domain_controllers = array('dc01.mysite.com');@
29 1
More than one:
30 1
@$ldap_domain_controllers = array('dc01.mysite.com', '192.168.1.2', 'dc04.mysite.com');@
31 1
32 1
h2. @$staff_groups = array('Group' => 'Staff');@
33 1
34 1
35 1
h3. Example: