SYMPTOMS
When you perform a wildcard OR (logical operation) search by means of a Web browser, the second item in the search may be ignored. For example, a Metadirectory Services server may be configured to wildcard hash a "givenName" and an "OR" search with the givenName "Mar* OR Pet*". The search string may resemble:
ldap://MMSserver:389/ou=Employees,dc=Microsoft,dc=Com??one?(&(|(givenName=mar*)(givenName=ron*))(sn=Doe))
In this example, the following people may be under the Employees organizational unit:
- Mary Doe
- Martha Doe
- Mark Doe
- Ron Doe
- Ronald Doe
In the following result from the preceding search request, "Ron" and "Ronald" are missing:
- Mary Doe
- Martha Doe
- Mark Doe
You can change the search string to:
ldap://MMSserver:389/ou=Employees,dc=Microsoft,dc=Com??one?(&(|(givenName=ron*)(givenName=mar*))(sn=Doe))
In the following result from the second search request, "Mary", "Martha" and "Mark" are missing: