diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc
index 2dc73858609dcc35ab56dae780f2f829dd27c382..cceda31c8dcf578e4008dd14a2697c04e7eefe46 100644 (file)
$this->checks['permissions']['STATUS'] = FALSE;
$this->checks['permissions']['STATUS_MSG']= _("Failed");
$this->checks['permissions']['ERROR_MSG'] =
- sprintf(_("The specified user '%s' does not have full access to your ldap database."),$cv['admin']);
+ sprintf(_("The specified user '%s' does not have full access to your LDAP database."),$cv['admin']);
return(false);
}
$this->checks['permissions']['STATUS'] = FALSE;
$this->checks['permissions']['STATUS_MSG']= _("Failed");
$this->checks['permissions']['ERROR_MSG'] =
- sprintf(_("The specified user '%s' does not have full access to your ldap database."),$cv['admin']);
+ sprintf(_("The specified user '%s' does not have full access to your LDAP database."),$cv['admin']);
return(false);
}
/* Create & remove of dummy object was successful */
$this->checks['permissions']['STATUS'] = TRUE;
- $this->checks['permissions']['STATUS_MSG']= _("Ok");
+ $this->checks['permissions']['STATUS_MSG']= _("OK");
$this->checks['permissions']['ERROR_MSG'] = "";
return(true);
}
$str.= "<b>"._("Groups")."</b>: ".trim($valid_groups,", ")."<br>";
}
$this->checks['acls']['STATUS'] = TRUE;
- $this->checks['acls']['STATUS_MSG']= _("Ok");
+ $this->checks['acls']['STATUS_MSG']= _("OK");
$this->checks['acls']['ERROR_MSG'] = $str;
}else{
$this->checks['acls']['STATUS'] = FALSE;
$ldap->cd($cv['base']);
$ldap->search("(uid=".$uid.")");
if($ldap->count()){
- msg_dialog::display(_("Input error"),msgPool::duplicated(_("Uid")), ERROR_DIALOG);
+ msg_dialog::display(_("Input error"),msgPool::duplicated(_("UID")), ERROR_DIALOG);
return false;
}
/* Create & remove of dummy object was successful */
$this->checks['root']['STATUS'] = TRUE;
- $this->checks['root']['STATUS_MSG']= _("Ok");
+ $this->checks['root']['STATUS_MSG']= _("OK");
}
/* Root object doesn't exists
*/
- if(!in_array("gosaDepartment",$attrs['objectClass'])){
+ if(!in_array_strict("gosaDepartment",$attrs['objectClass'])){
if($just_check){
$this->rootOC_details = array();
$dep_types = departmentManagement::get_support_departments();
$dep_type ="";
foreach($dep_types as $dep_name => $dep_class){
- if(in_array($dep_class['CLASS'], $attrs['objectClass'])){
+ if(in_array_strict($dep_class['CLASS'], $attrs['objectClass'])){
$dep_type = $dep_name;
break;
}
/* Create & remove of dummy object was successful */
$this->checks['rootOC']['STATUS'] = TRUE;
- $this->checks['rootOC']['STATUS_MSG']= _("Ok");
+ $this->checks['rootOC']['STATUS_MSG']= _("OK");
$this->checks['rootOC']['ERROR_MSG'] = "";
}