From: Yary H. <ya...@ap...> - 2002-10-22 22:19:44
|
Once upon a time my LDAP server used Net::LDAP::BER->read to get and parse binary data all at once. It then used the "tag" and "decode" methods to see what it had to do. Now I'm converting to an OpenLDAP server w/a perl backend. The filter is passed as a flat string. I see that Net::LDAP::Filter will parse the string for me- but after that, I'm lost. What do I do with the Filter object? I would like to turn it into a BER object so I can re-use my code, but if there was any other way to traverse the tree I can use that too. I could use the internal representation of the Filter object, looks pretty straightforward, but don't want to be doing something undocumented that could break. -y ~~~~~ The Moon is Waning Gibbous (99% of Full) |