index fd6e394c5741de41e01464f7b31d84668c226ffe..748f03553527ee7911757f14d3f87bbe4f286d07 100644 (file)
$cv['connection'],
FALSE,
$cv['tls']);
+
$ldap->cd($cv['base']);
- $ldap->search("(objectClass=*)",array("dn"));
- $this->object_count=$ldap->count();
+ $this->object_count= "";
/* Preselect used features */
$oc = $ldap->get_objectclasses();
$this->features_used['inventory'] = array("USED" => isset($oc['glpiAccount']) ,
"NAME" => _("System inventory"));
$this->features_used['system'] = array("USED" => FALSE ,
- "NAME" => _("System-/Configmanagement"));
+ "NAME" => _("System / Config management"));
$this->features_used['addressbook'] = array("USED" => FALSE ,
"NAME" => _("Addressbook"));
}
}else{
$str .= "\nGet started: FALSE";
}
- $str .= "\nProblems : ".base64_encode($this->problems_encountered);
+ $str .= "\nProblems : ".($this->problems_encountered);
if($this->first_use){
$str .= "\nFirst use: TRUE";
$str .="\nPHP_Version: ".$this->php_version;
$str .="\nLDAP Server: ".$this->ldap_server;
$str .="\nObject count: ".$this->object_count;
- $str .="\nMissing features: ".base64_encode($this->want_to_see_next);
+ $str .="\nMissing features: ".($this->want_to_see_next);
}
$str .= "\n\nFeatures used";