From: hickert Date: Mon, 17 Oct 2005 11:41:37 +0000 (+0000) Subject: Some changes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31af16d473cbb8eea157d5fa3978e683d513adea;p=gosa.git Some changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1587 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']);