Escape ldap special characters.