From: hickert Date: Tue, 4 Oct 2005 08:19:26 +0000 (+0000) Subject: Rename of Servers fixed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d1120eb982fa5100e9a6a1c9292e5a1dcb9f8a2;p=gosa.git Rename of Servers fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDB.inc b/plugins/admin/systems/class_servDB.inc index ad41a149f..230407daf 100644 --- a/plugins/admin/systems/class_servDB.inc +++ b/plugins/admin/systems/class_servDB.inc @@ -147,6 +147,10 @@ class servdb extends plugin $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 ee9c214a0..1b9a87116 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -216,6 +216,7 @@ class servgeneric extends plugin } else { if ($this->orig_dn != $this->dn){ $this->move($this->orig_dn, $this->dn); + plugin::save(); } $ldap->cd($this->dn);