From 055fadd10dcbe0b7cd87eb85d77cfd515e2c71cf Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 5 Mar 2013 14:33:20 +0100 Subject: [PATCH] LDAP: escape some more chars for proper search filter, fixes #1673 --- apps/user_ldap/lib/access.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index d409591283..a8cfd45bf4 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -144,6 +144,9 @@ abstract class Access { '\;' => '\5c3B', '\"' => '\5c22', '\#' => '\5c23', + '(' => '\28', + ')' => '\29', + '*' => '\2A', ); $dn = str_replace(array_keys($replacements), array_values($replacements), $dn);