2 /* Change the settings to suit your Active Directory installation
4 * account_suffix : this is the full domain name of your Active Directory
5 * base_dn: Users is the standard windows CN, replace the DC stuff with your domain
6 * domain_controllers: the IP address of your domain controller(s)
7 * ad_username: a username with simple 'bind' access to Active Directory no special permissions needed
8 * ad_password: the password for the user
9 * real_primarygroup: leave alone or read adldap.sourceforge.net docs
10 * use_ssl: leave alone or read adldap.sourceforge.net docs
11 * recursive_groups: leave alone or read adldap.sourceforge.net docs
13 $adldap_options = array (
14 "account_suffix" => "@my.windowsdomain.com",
15 "base_dn" => "CN=Users,DC=my,DC=windowsdomain,DC=com",
16 "domain_controllers" => array ("10.1.1.1"),
17 "ad_username" => "myldapreader",
18 "ad_password" => "thepasswd",
19 "real_primarygroup" => true,
21 "recursive_groups" => true