How to avoid Openfire jabber server from authenticating usernames with ' character againts an ldap server

I have an Openfire jabber server v3.7.1 authenticating users against an Microsoft Active Directory, if the username have a ’ character like “pérez” Openfire allows the authentication and create an account pérez other than the existing account perez, getting an user with two different account name.

LDAP ignores ’ character when it’s going to authenticate an user, I would like to control that behavior in Openfire before it ask for a bind operation against the LDAP server.