From: cajus Date: Tue, 15 Jan 2008 13:00:48 +0000 (+0000) Subject: Fixed references with strange dn's X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13786f9b4665ec49b5626330d6ef741a9c3f8733;p=gosa.git Fixed references with strange dn's git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8352 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/generic/references/class_reference.inc b/plugins/generic/references/class_reference.inc index 4b17529db..4edf6c073 100644 --- a/plugins/generic/references/class_reference.inc +++ b/plugins/generic/references/class_reference.inc @@ -82,7 +82,7 @@ class reference extends plugin { $ldap= $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); - $ldap->search("(|(member=".$this->dn.")(memberUid=".$this->uid."))",array("memberUid","member","cn","description","objectClass")); + $ldap->search("(|(member=".normalizeLdap(preg_replace('/\\\\/', '\\\\\\', LDAP::fix($this->dn))).")(memberUid=".$this->uid."))",array("memberUid","member","cn","description","objectClass")); $cycle= array("F5F5F5", "ECECEC"); $id= 0;