From: cajus Date: Tue, 7 Oct 2008 14:51:25 +0000 (+0000) Subject: Fixed LDAP inheritance X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0ac95fb27ffe9c973ba398ce4843ff650a1d425a;p=gosa.git Fixed LDAP inheritance git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12622 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc index f48b2aaba..e2488e675 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc @@ -113,11 +113,6 @@ class termstartup extends plugin } natcasesort($this->gotoLdapServerList); - if(!count($this->gotoLdapServers) && $this->member_of_ogroup){ - $this->gotoLdap_inherit = TRUE; - } - - /* Load hardware list */ $ldap= $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); @@ -146,6 +141,10 @@ class termstartup extends plugin $this->member_of_ogroup = TRUE; $this->o_group_dn = $attrs['dn']; } + + if(!count($this->gotoLdapServers) && $this->member_of_ogroup){ + $this->gotoLdap_inherit = TRUE; + } } function execute()