LDAP Filter replacement routines