summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34763be)
raw | patch | inline | side by side (parent: 34763be)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 12:40:35 +0000 (12:40 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 12:40:35 +0000 (12:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8349 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/systems/class_workstationGeneric.inc b/gosa-core/plugins/admin/systems/class_workstationGeneric.inc
index 82658218925f1b38932d74d35cfcc3fe484cb148..505397535399a159a24db014905eff4196065ce5 100644 (file)
if(!isset($this->parent->by_object['ogroup'])){
$ldap = $this->config->get_ldap_link();
$ldap->cd ($this->config->current['BASE']);
- $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))",array("cn"));
+ $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".normalizeLdap(preg_replace('/\\\\/', '\\\\\\', LDAP::fix($this->dn)))."))",array("cn"));
$this->member_of_ogroup = $ldap->count() >= 1;
}