From 5bd1c67eb401cdfec903025ef55ec1917557d9d3 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 1 Feb 2010 10:10:19 +0000 Subject: [PATCH] Added samba base check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15529 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/samba/admin/systems/samba/class_winGeneric.inc | 5 +++++ 1 file changed, 5 insertions(+) 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)){ -- 2.30.2