Hi, I need to make Net::LDAP to understand LDAP Content Sync of OpenLDAP. This technology uses LDAP Intermediate Response (RFC 3771)
Appropriate ASN.1 definition has been added to Net/LDAP/ASN.pm as suggested by Chris Ridd (http://www.nntp.perl.org/group/perl.ldap/1393) Then the Net::LDAP::Search::decode() function should be corrected to work with IntermediateResponse properly. Maybe it would be reasonable to add register() functionality to Net::LDAP::Search (like in Net::LDAP::Control), so that one could assign a custom response-message processor (decoder) for a particular protocolOp for example? (IntermediateResponse with responseName = '1.3.6.1.4.1.4203.1.9.1.4' in my case) If you wish I can send a quick-and-dirty patch just to illustrate this suggestion. Best regards Alexey Kravchuk