File: ldapi.pm

package info (click to toggle)
libnet-ldap-perl 1%3A0.6500%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,660 kB
  • ctags: 731
  • sloc: perl: 15,059; sh: 76; makefile: 5
file content (38 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (3)
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.