conf = $config; else { echo _("Ldap->Ldap failed!"); exit;} } // returns an array of strings with the DN entries // $base is optional and specifies the root from where to search for entries function getUsers($base = "") { } // returns an array of strings with the DN entries // $base is optional and specifies the root from where to search for entries function getGroups($base = "") { } // returns an array of strings with the DN entries // $base is optional and specifies the root from where to search for entries function getMachines($base = "") { } // connects to the server using the given username and password // $base is optional and specifies the root from where to search for entries function connect($user, $passwd) { } // closes connection to server // $base is optional and specifies the root from where to search for entries function close() { } } ?>