$99 GRAYBYTE WORDPRESS FILE MANAGER $24

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 84.32.84.143 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/share/perl5/URI/

HOME
Current File : /usr/share/perl5/URI//ldap.pm
# Copyright (c) 1998 Graham Barr <gbarr@pobox.com>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.

package URI::ldap;

use strict;
use warnings;

our $VERSION = '1.73';
$VERSION = eval $VERSION;

use parent qw(URI::_ldap URI::_server);

sub default_port { 389 }

sub _nonldap_canonical {
    my $self = shift;
    $self->URI::_server::canonical(@_);
}

1;

__END__

=head1 NAME

URI::ldap - LDAP Uniform Resource Locators

=head1 SYNOPSIS

  use URI;

  $uri = URI->new("ldap:$uri_string");
  $dn     = $uri->dn;
  $filter = $uri->filter;
  @attr   = $uri->attributes;
  $scope  = $uri->scope;
  %extn   = $uri->extensions;
  
  $uri = URI->new("ldap:");  # start empty
  $uri->host("ldap.itd.umich.edu");
  $uri->dn("o=University of Michigan,c=US");
  $uri->attributes(qw(postalAddress));
  $uri->scope('sub');
  $uri->filter('(cn=Babs Jensen)');
  print $uri->as_string,"\n";

=head1 DESCRIPTION

C<URI::ldap> provides an interface to parse an LDAP URI into its
constituent parts and also to build a URI as described in
RFC 2255.

=head1 METHODS

C<URI::ldap> supports all the generic and server methods defined by
L<URI>, plus the following.

Each of the following methods can be used to set or get the value in
the URI. The values are passed in unescaped form.  None of these
return undefined values, but elements without a default can be empty.
If arguments are given, then a new value is set for the given part
of the URI.

=over 4

=item $uri->dn( [$new_dn] )

Sets or gets the I<Distinguished Name> part of the URI.  The DN
identifies the base object of the LDAP search.

=item $uri->attributes( [@new_attrs] )

Sets or gets the list of attribute names which are
returned by the search.

=item $uri->scope( [$new_scope] )

Sets or gets the scope to be used by the search. The value can be one of
C<"base">, C<"one"> or C<"sub">. If none is given in the URI then the
return value defaults to C<"base">.

=item $uri->_scope( [$new_scope] )

Same as scope(), but does not default to anything.

=item $uri->filter( [$new_filter] )

Sets or gets the filter to be used by the search. If none is given in
the URI then the return value defaults to C<"(objectClass=*)">.

=item $uri->_filter( [$new_filter] )

Same as filter(), but does not default to anything.

=item $uri->extensions( [$etype => $evalue,...] )

Sets or gets the extensions used for the search. The list passed should
be in the form etype1 => evalue1, etype2 => evalue2,... This is also
the form of list that is returned.

=back

=head1 SEE ALSO

L<http://tools.ietf.org/html/rfc2255>

=head1 AUTHOR

Graham Barr E<lt>F<gbarr@pobox.com>E<gt>

Slightly modified by Gisle Aas to fit into the URI distribution.

=head1 COPYRIGHT

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

=cut

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 Jan 2024 5.01 PM
root / root
0755
file
--
25 Jan 2024 2.16 PM
root / root
0755
urn
--
25 Jan 2024 2.16 PM
root / root
0755
Escape.pm
6.896 KB
9 Jan 2018 6.42 AM
root / root
0644
Heuristic.pm
6.371 KB
9 Jan 2018 6.42 AM
root / root
0644
IRI.pm
0.801 KB
9 Jan 2018 6.42 AM
root / root
0644
QueryParam.pm
4.772 KB
9 Jan 2018 6.42 AM
root / root
0644
Split.pm
2.323 KB
9 Jan 2018 6.42 AM
root / root
0644
URL.pm
5.358 KB
9 Jan 2018 6.42 AM
root / root
0644
WithBase.pm
3.767 KB
9 Jan 2018 6.42 AM
root / root
0644
_foreign.pm
0.13 KB
9 Jan 2018 6.42 AM
root / root
0644
_generic.pm
5.711 KB
9 Jan 2018 6.42 AM
root / root
0644
_idna.pm
2.056 KB
9 Jan 2018 6.42 AM
root / root
0644
_ldap.pm
3.198 KB
9 Jan 2018 6.42 AM
root / root
0644
_login.pm
0.251 KB
9 Jan 2018 6.42 AM
root / root
0644
_punycode.pm
5.516 KB
9 Jan 2018 6.42 AM
root / root
0644
_query.pm
2.497 KB
9 Jan 2018 6.42 AM
root / root
0644
_segment.pm
0.432 KB
9 Jan 2018 6.42 AM
root / root
0644
_server.pm
3.662 KB
9 Jan 2018 6.42 AM
root / root
0644
_userpass.pm
1.035 KB
9 Jan 2018 6.42 AM
root / root
0644
data.pm
3.337 KB
9 Jan 2018 6.42 AM
root / root
0644
file.pm
9.532 KB
9 Jan 2018 6.42 AM
root / root
0644
ftp.pm
1.057 KB
9 Jan 2018 6.42 AM
root / root
0644
gopher.pm
2.396 KB
9 Jan 2018 6.42 AM
root / root
0644
http.pm
0.44 KB
9 Jan 2018 6.42 AM
root / root
0644
https.pm
0.166 KB
9 Jan 2018 6.42 AM
root / root
0644
ldap.pm
2.881 KB
9 Jan 2018 6.42 AM
root / root
0644
ldapi.pm
0.456 KB
9 Jan 2018 6.42 AM
root / root
0644
ldaps.pm
0.166 KB
9 Jan 2018 6.42 AM
root / root
0644
mailto.pm
1.271 KB
9 Jan 2018 6.42 AM
root / root
0644
mms.pm
0.147 KB
9 Jan 2018 6.42 AM
root / root
0644
news.pm
1.445 KB
9 Jan 2018 6.42 AM
root / root
0644
nntp.pm
0.149 KB
9 Jan 2018 6.42 AM
root / root
0644
pop.pm
1.204 KB
9 Jan 2018 6.42 AM
root / root
0644
rlogin.pm
0.151 KB
9 Jan 2018 6.42 AM
root / root
0644
rsync.pm
0.228 KB
9 Jan 2018 6.42 AM
root / root
0644
rtsp.pm
0.147 KB
9 Jan 2018 6.42 AM
root / root
0644
rtspu.pm
0.148 KB
9 Jan 2018 6.42 AM
root / root
0644
sftp.pm
0.121 KB
9 Jan 2018 6.42 AM
root / root
0644
sip.pm
1.694 KB
9 Jan 2018 6.42 AM
root / root
0644
sips.pm
0.165 KB
9 Jan 2018 6.42 AM
root / root
0644
snews.pm
0.193 KB
9 Jan 2018 6.42 AM
root / root
0644
ssh.pm
0.196 KB
9 Jan 2018 6.42 AM
root / root
0644
telnet.pm
0.15 KB
9 Jan 2018 6.42 AM
root / root
0644
tn3270.pm
0.15 KB
9 Jan 2018 6.42 AM
root / root
0644
urn.pm
2.149 KB
9 Jan 2018 6.42 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF