Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.
You can alternatively override the configuration when the class is called by specifying an array with the options.
Called like $adldap = new adLDAP($options); Where $options is an array with one or more of the following keys
account_suffix base_dn domain_controllers admin_username admin_password real_primarygroup use_ssl use_tls recursive_groups ad_port sso
See the 'examples' and 'connecting and disconnecting' section for more information
include ('mk16/lib/adLDAP/src/adLDAP.php'); $options = array( "account_suffix" => "@esc1.net", "base_dn" => "DC=esc1,DC=net", "domain_controllers" => array("22.214.171.124"), "admin_username" => "username", "admin_password" => "mypassword", "use_ssl" => true, ); $adldap = new adLDAP($options);