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.
To install Net::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::LDAP
CPAN shell
perl -MCPAN -e shell install Net::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.