Use of '&' in LDAP filters

Not applicable

I would like to perform a complex filter within my LDAP policy, which uses the 'AND' construct. The filter I want to perform is this:

(&(objectClass=person)(objectClass=user))

But when I try to use this in my policy, I get this error:

Error creating object

Bundle is invalid. The entity name must immediately follow the '&' in the entity reference.

I have tried the '&' as-is, and escaped (& amp;), but neither works:

<SearchQuery>(&(objectClass=person)(objectClass=user))</SearchQuery>

<SearchQuery>(& amp;(objectClass=person)(objectClass=user))</SearchQuery>

(Note: I don't really have a space between the & and amp; in my code, but I had to put that there to make it visible on this page.)

Suggestions?

0 2 248
2 REPLIES 2

Not applicable

I am facing same issue. Can you some pls one help us?

Not applicable

We are facing the same issue with Search Query and could not locate any Apigee Docs on this problem.Can Apigee Support help resolve this or @Todd Williams if you have a workaround , please share.

Help on this issue is greatly appreciated.

PS : Please ignore the typos on previous message.

Thanks