Net::LDAP::FilterMatch - Online Linux Manual PageSection : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation
NAMENet::LDAP::FilterMatch − LDAP entry matching
SYNOPSIS use Net::LDAP::Entry;
use Net::LDAP::Filter;
use Net::LDAP::FilterMatch;
my $entry = new Net::LDAP::Entry;
$entry−>dn("cn=dummy entry");
$entry−>add (
'cn' => 'dummy entry',
'street' => [ '1 some road','nowhere' ] );
my @filters = (qw/(cn=dummy*)
(ou=*)
(&(cn=dummy*)(street=*road))
(&(cn=dummy*)(!(street=nowhere)))/);
for (@filters) {
my $filter = Net::LDAP::Filter−>new($_);
print $_,' : ', $filter−>match($entry) ? 'match' : 'no match' ,"\n";
}
ABSTRACTThis extension of the class Net::LDAP::Filter provides entry matching functionality on the Perl side. Given an entry it will tell whether the entry matches the filter object. It can be used on its own or as part of a Net::LDAP::Server based LDAP server.
METHODmatch ( ENTRY [ ,SCHEMA ] ) Return whether ENTRY matches the filter object. If a schema object is provided, the selection of matching algorithms will be derived from schema. In case of error undef is returned. For approximate matching like (cn~=Schmidt) there are several modules that can be used. By default the following modules will be tried in this order: String::Approx
Text::Metaphone
Text::Soundex
If none of these modules is found it will fall back on a simple regexp algorithm. If you want to specifically use one implementation only, simply do use Net::LDAP::FilterMatch qw(Text::Soundex);
SEE ALSONet::LDAP::Filter
COPYRIGHTThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORSHans Klunder <hans.klunder@bigfoot.com> Peter Marschall <peter@adpm.de> 0
Johanes Gumabo
Data Size : 7,111 byte
man-Net::LDAP::FilterMatch.3pmBuild : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 257,385
Visitor ID : :
Visitor IP : 18.226.163.23 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|252|Net::LDAP::FilterMatch.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Net::LDAP::FilterMatch.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|252|Net::LDAP::FilterMatch.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Net::LDAP::FilterMatch.3pm|43|'br══─}─══ |'br══─}─══
)