Daniel Stutz wrote:
Hi all,

according to RFC 4511 an ExtendedResponse has the following format:
  ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
             COMPONENTS OF LDAPResult,
             responseName     [10] LDAPOID OPTIONAL,
             responseValue    [11] OCTET STRING OPTIONAL }

RFC 4511 obsoletes RFC 2251 where the ExtendedResponse was defined as:
   ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
        COMPONENTS OF LDAPResult,
        responseName     [10] LDAPOID OPTIONAL,
        response         [11] OCTET STRING OPTIONAL }

The obsolete structure is still used in LDAP::ASN.pm and in Net::LDAP::Extension the attribute as well as the accessor is also called "response".

The only difference is in the field name, and as it is not part of the encoding I see no particular reason to change anything.

Unless I'm completely blind and missing something obvious?

If you do submit a patch to change this you'd probably want to retain the old accessor, but alter it to whinge about being deprecated.

Cheers,

Chris

Reply via email to