/usr/share/perl5/LWP/Protocol/ldapi.pm is in libnet-ldap-perl 1:0.5800-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | package LWP::Protocol::ldapi;
use strict ;
use base 'LWP::Protocol::ldap' ;
1;
__END__
=head1 NAME
LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent
=head1 SYNOPSIS
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')):
=head1 DESCRIPTION
The LWP::Protocol::ldapi module provides support for using I<ldapi> schemed
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
you don't use it directly.
=head1 SEE ALSO
L<LWP::Protocol::ldap>, L<LWP::Protocol::ldaps>
=head1 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.
|