From: hickert Date: Thu, 8 Jun 2006 05:15:11 +0000 (+0000) Subject: Fixed ldapbase X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3278d45d6c5b28a7bb40b3f06b3e262371377cea;p=gosa.git Fixed ldapbase git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3694 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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}