From 31af16d473cbb8eea157d5fa3978e683d513adea Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 Oct 2005 11:41:37 +0000 Subject: [PATCH] Some changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1587 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index ea0ec3a0c..eaf51fb6d 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -88,7 +88,8 @@ class workstartup extends plugin $tmp = array(); $ldap = $this->config->get_ldap_link(); - $ldap->search("(objectClass=FAIprofile)",array("*")); + $ldap->cd($this->config->current['BASE']); + $ldap->search("(objectClass=FAIprofile)",array("cn")); while($attr = $ldap->fetch()){ $this->FAIclasses[$attr['cn'][0]]=$attr['cn'][0]; $base = "ou=fai,".preg_replace("/^.*ou=fai,/","",$attr['dn']); -- 2.30.2