LDAP: case insensitive replace for more robustness