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 presence of the Relax control in an LDAP update request indicates
29 the server temporarily relax X.500 model constraints during performance
30 of the directory update.
31
32 The control is appropriate for all LDAP update requests, including add,
33 delete, modify, and modifyDN (rename) [RFC4511].
34
35 Its criticality is always set to TRUE, and no value.
36
37 There is no corresponding response control.
38
40 Since the "Relax" control does not have any values only the constructor
41 arguments described in Net::LDAP::Control are supported
42
44 As there are no additional values in the control only the methods in
45 Net::LDAP::Control are available for "Net::LDAP::Control::Relax"
46 objects.
47
49 Net::LDAP, Net::LDAP::Control,
50
52 Peter Marschall <peter@adpm.de>.
53
54 Please report any bugs, or post any suggestions, to the perl-ldap
55 mailing list <perl-ldap@perl.org>
56
58 Copyright (c) 2013 Peter Marschall. All rights reserved. This program
59 is free software; you can redistribute it and/or modify it under the
60 same terms as Perl itself.
61
62
63
64perl v5.16.3 2013-06-08 Net::LDAP::Control::Relax(3)