Code

Some changes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:41:37 +0000 (11:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:41:37 +0000 (11:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1587 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index ea0ec3a0c2d106a05a5dff60b14c95b5963555b1..eaf51fb6df1ae1c6aee00c199a032bbe4aea4863 100644 (file)
@@ -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']);