------art_68448_4449110.1147700228909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I assume by "LDAP filter string" you mean an RFC-2254 compliant string,
correct?
Net::LDAP intentionally avoided supporting this kind of textual
representation of filters, partly because they're ugly and partly because
they don't map to anything in the LDAP wire protocol.

However, we've thought about adding methods that would convert
Net::LDAP::Filters to and from RFC-2254 strings. Would that help you? Is it
because you have these strings lying around in existing code? Are you trying
to port from an application that uses the native-LDAP wrapper library?

On 5/15/06, Andre Nathan <andre / digirati.com.br> wrote:
>
> Hello
>
> Excuse me if this is a dumb question but I searched the docs and
> couldn't find a way to do this... Is there any method that converts an
> LDAP filter string to a filter object to be used in #search, ie,
> something like
>
> "uid=foo" being understood as Net::LDAP::Filter.eq("uid", "foo")
>
> ?
>
> Thanks in advance,
> Andre
>
>
>
>
>
>
>

------art_68448_4449110.1147700228909--