From 0ac95fb27ffe9c973ba398ce4843ff650a1d425a Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 7 Oct 2008 14:51:25 +0000 Subject: [PATCH] Fixed LDAP inheritance git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12622 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_terminalStartup.inc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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() -- 2.30.2