DOKK / manpages / debian 11 / libnet-ldap-perl / LWP::Protocol::ldapi.3pm.en
LWP::Protocol::ldapi(3pm) User Contributed Perl Documentation LWP::Protocol::ldapi(3pm)

LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent

  use LWP::UserAgent;
  use MIME::Base64;
  $ua = LWP::UserAgent->new();
  $res = $ua->get('ldapi:///' .
                  'o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)',
                  Authorization => 'Basic '.encode_Base64('cn=John Doe:secret')):

The LWP::Protocol::ldapi module provides support for using ldapi schemed URLs with LWP. This module is a plug-in to the LWP protocol handling, so you don't use it directly.

LWP::Protocol::ldap, LWP::Protocol::ldaps

Copyright (c) 2012 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2021-01-03 perl v5.32.0