Commit 01b3928a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Final fix forJM-695

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4365 b35dd754-fafc-0310-a699-88a17e54d16e
parent bbb0d33f
......@@ -270,7 +270,7 @@ public class LdapGroupProvider implements GroupProvider {
if (JiveGlobals.getXMLProperty("ldap.wrapUserDN", true)) {
// Check if we need to wrap values between "
// eg. cn=John\, Doe,ou=People --> cn="John\, Doe",ou=People
Matcher matcher = userDNPattern.matcher(username);
Matcher matcher = userDNPattern.matcher(userDN);
while (matcher.find()) {
userDN = matcher.replaceFirst(
matcher.group(1) + "\"" + matcher.group(2) + "\"");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment