Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » LDAP filters in RMAP
LDAP filters in RMAP [message #546981] Wed, 14 July 2010 19:42 Go to next message
Johannes Tysiak is currently offline Johannes Tysiak
Messages: 4
Registered: April 2010
Junior Member
Hey everybody,

I am trying to use LDAP filters in my RMAP and have encountered two issues, which I would like to discuss:

* The SAX parser seems to be having problems when using "&" (= and), as it tries to interpret the following characters as XML entity. Is there a way to escape this? I tried using $amp; - without success.

* Is there an LDAP filter that evaluates to true whenever a property is not set? So far I have tried "(property=NULL)" and "(!(property=*))". Both without success though.

The first issue is probably either a bug or there is something missing in the documentation (at least I missed it). If it turns out that I haven't overseen anything I will create a bug report for this.

Thanks for your input!

Cheers,
Johannes
Re: LDAP filters in RMAP [message #547098 is a reply to message #546981] Thu, 15 July 2010 14:40 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
On 07/14/2010 09:42 PM, Johannes Tysiak wrote:
> Hey everybody,
>
> I am trying to use LDAP filters in my RMAP and have encountered two
> issues, which I would like to discuss:
>
> * The SAX parser seems to be having problems when using "&" (= and), as
> it tries to interpret the following characters as XML entity. Is there a
> way to escape this? I tried using $amp; - without success.
>
Not sure why that is. We use filters all the time. In the XML text, the notation "(&(xx=1)(yy=2))" should work just
fine.

> * Is there an LDAP filter that evaluates to true whenever a property is
> not set? So far I have tried "(property=NULL)" and "(!(property=*))".
> Both without success though.
>
"(!(property=*))" is correct. I just tested it and it seems to work OK.

- thomas
Previous Topic:Can we build it, yes we can...
Next Topic:Hudson on windows with buckminster
Goto Forum:
  


Current Time: Tue Oct 21 17:06:41 GMT 2014

Powered by FUDForum. Page generated in 0.01690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software