[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-ldap-dev
Subject:    Re: decode filter in Convert::ASN1
From:       Chris Ridd <chrisridd () mac ! com>
Date:       2002-12-10 11:34:51
[Download RAW message or body]

On 10/12/02 10:58 am, Edouard FAUCHILLE <edouard.fauchille@patcom.fr> wrote:

> 
> Hi, 
> 
> I'm still trying to develop my perl server in order to make communicate ldap
> client with sql databases.
> 
> I manage the first step (bindRequest / bindResponse), but I have
> difficulties with the searchRequest : i don't manage to get the information
> in the filter because of the tree structure.
> Is there a function (maybe in Data::Dumper) which convert the filter from
> the tree structure (with tab, hash ...)  into linear structure (as
> "sn=joe,givenName=too" ).
> 
> Thanks a lot for your help,
> Edouard.

Net::LDAP::Filter has an as_string method, which looks as though it might
work.

Cheers,

Chris



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic