Peter Mogensen wrote:
Hi,

Which kind of support for LDAPv2 attribute options are present or
planned for future releases of the Perl API?

Please file an enhancement request against perldap at https://bugzilla.mozilla.org/enter_bug.cgi?product=Directory


When I get an Entry from Net::LDAP I can specify (from the pod):
====================================
alloptions => 1
     The result will be a hash reference. The keys of the hash will
     be the options and the hash value will be the values for those
     attributes.  For example if an entry had:

          name: Graham Barr
          name;en-us: Bob

     Then a get for attribute "name" with alloptions set to a true
     value

     $ref = $entry->get_value ( ’name’, alloptions => 1 );

     will return a hash reference that would be like

          {
             ’’       => [ ’Graham Barr’ ],
             ’;en-us’ => [ ’Bob’ ]
          }
===============

thanx,

Peter
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to