diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 3257f7025f09345bd1f0d405add1af79d1d0604d..9bfa325eb9c2e2a516340e38e961dd0e7e6a0944 100644 (file)
$this->base= dn2base($ui->dn);
$this->cn= "";
} else {
- $this->base= preg_replace ("/^[^,]+,".normalizePreg(get_ou("serverRDN"))."/", "", $this->dn);
+ $this->base= preg_replace ("/^[^,]+,".preg_quote(get_ou("serverRDN"), '/')."/", "", $this->dn);
}
$this->netConfigDNS = new termDNS($this->config,$this,$this->objectclasses);
$this->netConfigDNS->set_acl_category("server");
}
/* Warn the user, that this host is currently installing */
- if($this->currently_installing && !$this->currently_installing_warned && !preg_match("/".normalizePreg(get_ou("systemIncomingRDN"))."/",$this->orig_dn)){
+ if($this->currently_installing && !$this->currently_installing_warned && !preg_match("/".preg_quote(get_ou("systemIncomingRDN"), '/')."/",$this->orig_dn)){
/* Force aborting without message dialog */
$message[] = "";
"plCategory" => array("server" => array("description" => _("Server"),
"objectClass" => "goServer")),
"plProvidedAcls"=> array(
- "cn" => _("Name"),
- "description" => _("Description"),
- "gotoMode" => _("Goto mode"),
- "base" => _("Base"),
- "FAIstate" => _("Action flag"))
+ "cn" => _("Name"),
+ "description" => _("Description"),
+ "base" => _("Base"),
+
+ "gotoMode" => _("Goto mode"),
+ "userPassword"=> _("Root password"),
+ "FAIstate" => _("Action flag"))
));
}
}