# LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent - perldoc - [phpMan]

## NAME
    [LWP::Protocol::ldapi](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AProtocol%3A%3Aldapi/markdown) - Provide LDAPI support for [LWP::UserAgent](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AUserAgent/markdown)

## SYNOPSIS
      use [LWP::UserAgent](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AUserAgent/markdown);
      use [MIME::Base64](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ABase64/markdown);

      $ua = [LWP::UserAgent](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AUserAgent/markdown)->new();
      $res = $ua->get('ldapi:///' .
                      'o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)',
                      Authorization => 'Basic '.encode_Base64('cn=John Doe:secret')):

## DESCRIPTION
    The [LWP::Protocol::ldapi](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AProtocol%3A%3Aldapi/markdown) 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.

## SEE ALSO
    [LWP::Protocol::ldap](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AProtocol%3A%3Aldap/markdown), [LWP::Protocol::ldaps](https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AProtocol%3A%3Aldaps/markdown)

## COPYRIGHT
    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.

