From 9a4176aae66241f7017890cfae8079dda0bfbf87 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 15 Jan 2008 13:00:57 +0000 Subject: [PATCH] Fixed references with strange dn's git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8353 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/generic/references/class_reference.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/generic/references/class_reference.inc b/gosa-core/plugins/generic/references/class_reference.inc index 472e42e11..ed33bec45 100644 --- a/gosa-core/plugins/generic/references/class_reference.inc +++ b/gosa-core/plugins/generic/references/class_reference.inc @@ -82,7 +82,8 @@ 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