1Net::LDAP::Control::RelUasxe(r3)Contributed Perl DocumenNteatt:i:oLnDAP::Control::Relax(3)
2
3
4
6 Net::LDAP::Control::Relax - LDAPv3 Relax control object
7
9 use Net::LDAP;
10 use Net::LDAP::Control::Relax;
11
12 $ldap = Net::LDAP->new( "ldap.mydomain.eg" );
13
14 $relax = Net::LDAP::Control::Relax->new();
15
16 $msg = $ldap->modify( 'dc=sub,dc=mydomain,dc=eg",
17 changes => [
18 replace => { modifyTimestamp => '19700101000000Z' } ],
19 control => [ $relax ] );
20
21 die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
22
24 "Net::LDAP::Control::Relax" provides an interface for the creation and
25 manipulation of objects that represent the "Relax" control as described
26 by draft-zeilenga-ldap-relax-03.txt
27
28 The control, which has no corresponding response control, is
29 appropriate for all LDAP update requests, including add, delete,
30 modify, and moddn.
31
32 The presence of the Relax control in an LDAP update request indicates
33 the server temporarily relax X.500 model constraints during performance
34 of the directory update.
35
36 It does not have a value and its criticality is always set to "TRUE".
37
39 Since the "Relax" control does not have any values, only the
40 constructor arguments described in Net::LDAP::Control are supported.
41
43 As there are no additional values in the control, only the methods in
44 Net::LDAP::Control are available for "Net::LDAP::Control::Relax"
45 objects.
46
48 Net::LDAP, Net::LDAP::Control,
49
51 Peter Marschall <peter@adpm.de>.
52
53 Please report any bugs, or post any suggestions, to the perl-ldap
54 mailing list <perl-ldap@perl.org>
55
57 Copyright (c) 2013 Peter Marschall. All rights reserved. This program
58 is free software; you can redistribute it and/or modify it under the
59 same terms as Perl itself.
60
61
62
63perl v5.32.1 2021-02-16 Net::LDAP::Control::Relax(3)