summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5bd1c67)
raw | patch | inline | side by side (parent: 5bd1c67)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 10:11:06 +0000 (10:11 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 10:11:06 +0000 (10:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15530 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_componentGeneric.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc
index d26d53be63ce27a55a87aa35aa27a57ad5259635..bc0200caf140bab49df7507e6ecc4173d7ea83de 100644 (file)
$message[] = msgPool::permMove();
}
+ // Check if a wrong base was supplied
+ if(!$this->baseSelector->checkLastBaseUpdate()){
+ $message[]= msgPool::check_base();;
+ }
+
return ($message);
}
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 0e86949f32a7dd468cf7ce40339b6c97a168c599..030ba096fff0db36d997cca67db0494da471c134 100644 (file)
$message[]= msgPool::invalid(_("Server name"), $this->cn, "/[a-z0-9\.\-]/i");
}
+ // Check if a wrong base was supplied
+ if(!$this->baseSelector->checkLastBaseUpdate()){
+ $message[]= msgPool::check_base();;
+ }
+
if ($this->orig_dn != $this->dn){
$ldap= $this->config->get_ldap_link();
$ldap->cd ($this->base);