Have you tried:
(&(objectCategory=Person)(objClass=User)(displayName=\\
))
David Aragon
Your ability to perceive a solution is
limited
only by your understanding of the problem
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sitton Glen E
Sent: Tuesday, February 07, 2006 9:17 AM
To: [email protected]
Subject: [ActiveDir] DSQUERY filter for space character onlyI need to run an obscure DSQUERY with a filter that finds displayNames with a value of a single space character. I'm stumped. I've tried every escape character possibility that I'm aware of. I know how to find null values, but can't seem to query on a space character alone. It hoses the ldap syntax.When ADUC builds the ldap query itself, it fails:(&(objectCategory=user)(displayName= ))The query filter ... is not a valid query string.I've tried:" "' '%20+and escaping it with a \ or a ^Any ideas?Thanks in advance,- Glen
