To test any of the functions, just change the 0 to a 1. */ //error_reporting(E_ALL ^ E_NOTICE); include "adLDAP.php"; $ldap = new adLDAP($options); //var_dump($ldap); echo "<pre>\n"; // authenticate a username/password if (0) { $result = $ldap->authenticate("username", "password"); var_dump($result); } // add a group to a group if (0) { $result = $ldap->group_add_group("Parent Group Name", "Child Group Name"); var_dump($result); } // add a user to a group if (0) { $result = $ldap->group_add_user("Group Name", "username"); var_dump($result); } // create a group if (0) { $attributes = array("group_name" => "Test Group", "description" => "Just Testing", "container" => array("Groups", "A Container")); $result = $ldap->group_create($attributes); var_dump($result); } // retrieve information about a group if (0) {