Net::LDAP::Extension::Cancel - Online Linux Manual PageSection : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation

NAMENet::LDAP::Extension::Cancel − LDAP Cancel Operation

SYNOPSIS​ use Net::LDAP; ​ use Net::LDAP::Constant qw(LDAP_SUCCESS LDAP_CANCELED) ​ use Net::LDAP::Extension::Cancel; ​ ​ $ldap = Net::LDAP−>new( 'ldap.mydomain.eg' ); ​ ​ $ldap−>bind('cn=Joe User,cn=People,dc=example,dc=com', ​ password => 'secret'); ​ ​ $search = $ldap−>search( ​ base => 'c=US', ​ filter => '(&(sn=Barr) (o=Texas Instruments))', ​ callback => \&process_entry, # Call this sub for each entry ​ ); ​ ​ $mesg = $ldap−>cancel($search); ​ ​ die "error :", $mesg−>code(), ": ", $mesg−>error() ​ if ($mesg−>code() != LDAP_CANCELED && mesg−>code() != LDAP_SUCCESS);

DESCRIPTIONNet::LDAP::Extension::Cancel implements the Cancel extended LDAPv3 operation as described in RFC 3909. The Cancel extended operation is very similar to the Abandon standard operation, and has the same call signature. Unlike the Abandon operation, it has a response which provides an indication of its outcome. It implements no object by itself but extends the Net::LDAP object by another method:

METHODScancel ( OPERATION, OPTIONS ) Cancel an outstanding operation. OPERATION may be a number or an object which is a sub-class of Net::LDAP::Message, returned from a previous method call. OPTIONS is a list of key/value pairs. The following keys are recognized: control => CONTROL control => [ CONTROL, .. ] Control(s) to be passed to the operation.

SEE ALSONet::LDAP, Net::LDAP::Extension

AUTHORPeter Marschall <peter@adpm.de>. Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl−ldap@perl.org>

COPYRIGHTCopyright (c) 2011 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.
0
Johanes Gumabo
Data Size   :   8,013 byte
man-Net::LDAP::Extension::Cancel.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 172,398
Visitor ID   :     :  
Visitor IP   :   52.15.190.187   :  
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.05
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_|249|Net::LDAP::Extension::Cancel.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Net::LDAP::Extension::Cancel.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Net::LDAP::Extension::Cancel.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Net::LDAP::Extension::Cancel.3pm|43|'br══─}─══ |'br══─}─══ )