From 3278d45d6c5b28a7bb40b3f06b3e262371377cea Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 Jun 2006 05:15:11 +0000 Subject: [PATCH] Fixed ldapbase git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3694 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goLdapServer.inc | 3 +++ plugins/admin/systems/goLdapServer.tpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_goLdapServer.inc b/plugins/admin/systems/class_goLdapServer.inc index 885970ac0..d18c6a224 100644 --- a/plugins/admin/systems/class_goLdapServer.inc +++ b/plugins/admin/systems/class_goLdapServer.inc @@ -113,6 +113,9 @@ class goLdapServer extends plugin{ function check() { $message = plugin::check(); + if(empty($this->goLdapBase)){ + $message[] = _("The given base is empty or contains invalid characters."); + } return($message); } diff --git a/plugins/admin/systems/goLdapServer.tpl b/plugins/admin/systems/goLdapServer.tpl index 112ddd6c2..d445f8d18 100644 --- a/plugins/admin/systems/goLdapServer.tpl +++ b/plugins/admin/systems/goLdapServer.tpl @@ -1,5 +1,5 @@

{t}LDAP service{/t}

-{t}Base{/t} +{t}Base{/t}{$must}

 

-- 2.30.2