From 13786f9b4665ec49b5626330d6ef741a9c3f8733 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 15 Jan 2008 13:00:48 +0000 Subject: [PATCH] Fixed references with strange dn's git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8352 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/generic/references/class_reference.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2