1Net::LDAP::Control::DonUtsUesreCCoopnyt(r3i)buted Perl DNoectu:m:eLnDtAaPt:i:oCnontrol::DontUseCopy(3)
2
3
4
6 Net::LDAP::Control::DontUseCopy - LDAPv3 Don't Use Copy control object
7
9 use Net::LDAP;
10 use Net::LDAP::Control::DontUseCopy;
11
12 $ldap = Net::LDAP->new( "ldap.mydomain.eg" );
13
14 $nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );
15
16 $msg = $ldap->search( base => 'o=University of Michigan,c=US',
17 filter => '(cn=Barbara Jensen)'
18 control => [ $nocopy ] );
19
20 die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
21
23 "Net::LDAP::Control::DontUseCopy" provides an interface for the
24 creation and manipulation of objects that represent the "DontUseCopy"
25 control as described by RFC 6171.
26
27 It allows the the client to specify that copied information should not
28 be used in providing the service.
29
30 The control is appropriate for LDAP search and compare operations
31 [RFC4511] and inappropriate for all other operations.
32
33 Its criticality must be TRUE; it has no value.
34
35 There is no corresponding response control.
36
38 Since the "DontUseCopy" control does not have any values only the
39 constructor arguments described in Net::LDAP::Control are supported
40
42 As there are no additional values in the control only the methods in
43 Net::LDAP::Control are available for "Net::LDAP::Control::DontUseCopy"
44 objects.
45
47 Net::LDAP, Net::LDAP::Control,
48
50 Peter Marschall <peter@adpm.de>.
51
52 Please report any bugs, or post any suggestions, to the perl-ldap
53 mailing list <perl-ldap@perl.org>
54
56 Copyright (c) 2014 Peter Marschall. All rights reserved. This program
57 is free software; you can redistribute it and/or modify it under the
58 same terms as Perl itself.
59
60
61
62perl v5.32.0 2020-07-28Net::LDAP::Control::DontUseCopy(3)