Skip to content

Latest commit

 

History

History
187 lines (114 loc) · 4.31 KB

ldap.pod

File metadata and controls

187 lines (114 loc) · 4.31 KB

NAME

URI::ldap - LDAP 腟延��莖�羣�篏�臀勖��絎�絖�鐚�Uniform Resource Locators 鐚�

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";

DESCRIPTION

URI::ldap ��� RFC 2255 ��ц��菴違�������⓾�������������˨�������勖�����荀�膣���������с� LDAP URI ���茹f��������������URI ���腟���帥����⓾����ゃ�潟�帥�若����с�若�鴻�����箴������障�����

METHODS

URI::ldap ��� URI ��у��臂í�������������鴻�⓾�勖����������泣�若����<�純�������� ��泣����若����������������˩札筝���勉����勉����泣����若�������障�����

篁ヤ����勉�<�純�������������������� URI ��с�勐�ゃ��荐㊤�������������壠��緇���������������˩戎�����障����� ��ゃ�壔����鴻�宴�若����������ŝ��綵√����ф検��������障����� ��������������⓾�壔�壩�ɱ��臂ï�ゃ��菴������障�������������������í�˨�������ŝ��荀�膣��� 腥冴�˨�ŝ����������������ŝ�����������羈���������⓾�������������� 綣���違��筝���������������������違�������ゃ�� URI ��勌����������������������̬┃絎���������障�����

$uri->dn( [$new_dn] )

URI ��� Distinguised Name ���������荐㊤�������������壠��緇������障����� DN ��� LDAP 罎�膣≪�勉����若�鴻�ŝ����吾�с�壔�����茘���ャ����障�����

$uri->attributes( [@new_attrs] )

罎�膣≪�˨����c�☀�����������絮���у����勉�ŝ�鴻�����荐㊤�������������壠��緇������障�����

$uri->scope( [$new_scope] )

罎�膣≪��篏帥����鴻�潟�若�� (scope) ���荐㊤�������������壠��緇������障����� ��ゃ�� "base", "one", "sub" ��勉�����������������絎���с����障����� URI ��˩�����筝������������ŝ�������違����������í�˨����� "base" ��˨�ŝ����障�����

$uri->_scope( [$new_scope] )

scope() ������罕���с����������������í�˨����с�壚����������障��������

$uri->filter( [$new_filter] )

罎�膣≪��篏睡�������������c�˨�帥��(filter)���荐㊤�������������壠��緇������障����� URI ��˩�����筝������������ŝ�������違�������í�˨����� "(objectClass=*)" ��˨�ŝ����障�����

$uri->_filter( [$new_filter] )

filter() ������罕���с����������������í�˨����с�壚����������障��������

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

罎�膣≪�˩戎�����������≦宍絖�(extension)���荐㊤�������������壠��緇������障����� 羝<����������ŝ�鴻����� etype1 => evalue1, etype2 => evalue2,... ��������� 綵√����с�ŝ�������違�ŝ����障�������� ��������虁�������������ŝ�鴻����勐就綣���с����������障�����

SEE ALSO

http://tools.ietf.org/html/rfc2255

AUTHOR

Graham Barr <gbarr@pobox.com>

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

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.