Code

Updated filtering again
[gosa.git] / plugins / admin / systems / class_terminalService.inc
index e38f27b14f1cb3e6fee0d3565ef971e48ab75d8d..86b22049bfd5334333b7f9b7ec59aaaf872ad8e7 100644 (file)
@@ -193,7 +193,7 @@ class termservice extends plugin
       /* Load hardware list */
     $ldap= $this->config->get_ldap_link();
     $ldap->cd($this->config->current['BASE']);
-    $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))");
+    $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".LDAP::prepare4filter($this->dn)."))");
     if ($ldap->count() == 1){
       $map= array("gotoXResolution", "gotoXColordepth", "gotoXKbModel", "gotoXKbLayout",
                   "gotoXKbVariant", "gotoXMouseType", "gotoXMouseport");