Ensure ldap parameters are properly escaped
Merge pull request #14944 from cro/ldap_metacharacters6

Ensure ldap characters are properly escaped
Merge branch '2014.7' into develop