I have an application that pulls user information from an OU in Active Directory. The parameters it takes are a base for the search and a filter string.
I have an O
The following will do the trick:
(&(objectClass=user)(!(distinguishedName:=%Evil%)))
I ran into a similar problem while building an address book for scan to e-mail.
I tried (&(objectClass=user)(!(distinguishedName:=*Evil*))) but it seems that some MFP's don't accept * as a wildcard, but they do accept %