From: cajus Date: Mon, 1 Feb 2010 10:10:19 +0000 (+0000) Subject: Added samba base check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5bd1c67eb401cdfec903025ef55ec1917557d9d3;p=gosa.git Added samba base check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15529 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc b/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc index a6c542069..a6275bb07 100644 --- a/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc +++ b/gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc @@ -213,6 +213,11 @@ class wingeneric extends plugin } } + // Check if a wrong base was supplied + if(!$this->baseSelector->checkLastBaseUpdate()){ + $message[]= msgPool::check_base();; + } + /* Check if we are allowed to create or move this object */ if($this->orig_dn == "new" && !$this->acl_is_createable($this->base)){