summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32ef96d)
raw | patch | inline | side by side (parent: 32ef96d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 08:19:26 +0000 (08:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Oct 2005 08:19:26 +0000 (08:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1456 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDB.inc | patch | blob | history | |
plugins/admin/systems/class_servGeneric.inc | patch | blob | history |
index ad41a149fba046e79b2dd943fa4c53faa773871d..230407daf24872e885e9f8c001e9976fd40494e5 100644 (file)
$message[]= sprintf(_("The attribute '%s' is empty or contains invalid characters."), $attr);
}
}
+ /* goKrbPassword is a must field, if goKrbServer is used as objectClass */
+ if ($this->goKrbPassword == "" ){
+ $message[]= sprintf(_("The specified kerberos password is empty."), $attr);
+ }
}
if (in_array("goFaxServer", $this->objectclasses)){
if ($this->goFaxAdmin == "" || preg_match("/ /", $this->goFaxAdmin)){
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index ee9c214a051989bcca1e8667e8d0b15061402e6c..1b9a8711647190677d9076e98bcc039c7a55f4e9 100644 (file)
} else {
if ($this->orig_dn != $this->dn){
$this->move($this->orig_dn, $this->dn);
+ plugin::save();
}
$ldap->cd($this->dn);