X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_workstationService.inc;h=a12ac099244755167392beb14dd4f5e2062d83a7;hb=5f1f63cbff1a76de561e6e556342179ace8ca24e;hp=f41b4195e54fc4420865a319327e59871d90e7b3;hpb=be4e3a47f5c4b037d5bc28a6fc34dad609cbf828;p=gosa.git diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index f41b4195e..a12ac0992 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -62,7 +62,7 @@ class workservice extends plugin if(!isset($this->parent->by_object['ogroup'])){ $ldap = $this->config->get_ldap_link(); $ldap->cd ($this->config->current['BASE']); - $ldap->search("(&(objectClass=gosaGroupOfNames)(member=".$this->dn."))",array("cn")); + $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))",array("cn")); $this->member_of_ogroup = $ldap->count() >= 1; }