summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1abec5d)
raw | patch | inline | side by side (parent: 1abec5d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 12:41:32 +0000 (12:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jan 2008 12:41:32 +0000 (12:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8350 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index ca1333fbdd7e8625559f7a7a58c2bd2f178f0238..7bac83ba5d6ff3a5dec65ace758523646d7f632d 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;
}