Net::LD...tUseCopy(3)
okay bestie, welcome to Net::LD...tUseCopy(3) β a User Contributed Perl Documentation page for the LDAPv3 Don't Use Copy control object. Itβs giving very niche, very specific, and weβre gonna get through it together π«Άβ¨
πΈ NAME πΈ
Net::LDAP::Control::DontUseCopy β the LDAPv3 Don't Use Copy control object. Periodt π
π SYNOPSIS π
bestie, hereβs the whole little code vibe:
use Net::LDAP;
use Net::LDAP::Control::DontUseCopy;
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
$nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );
$msg = $ldap->search( base => 'o=University of Michigan,c=US',
filter => '(cn=Barbara Jensen)'
control => [ $nocopy ] );
die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
π¦ DESCRIPTION π¦
So Net::LDAP::Control::DontUseCopy is literally the interface for creating and manipulating objects that represent the DontUseCopy control as described by RFC 6171. Iconic, lowkey.
It lets the client specify that copied information should not be used in providing the service. No cap π
This control is appropriate for LDAP search and compare operations [RFC4511] and inappropriate for all other operations. Thatβs the vibe check, and it passed β
Its criticality must be TRUE; it has no value. Like, none. Zero. Donβt try to give it one π¨
There is no corresponding response control. Thatβs it. Thatβs the whole story π«Ά
π οΈ CONSTRUCTOR ARGUMENTS π οΈ
Since the DontUseCopy control does not have any values, only the constructor arguments described in Net::LDAP::Control are supported. So yeah, no extra secret arguments hiding in here β¨
π§ METHODS π§
As there are no additional values in the control, only the methods in Net::LDAP::Control are available for Net::LDAP::Control::DontUseCopy objects. Keep it simple, bestie π
π SEE ALSO π
Net::LDAPNet::LDAP::Control
π AUTHOR π
Peter Marschall <peter@adpm.de>.
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>.
π COPYRIGHT π
Copyright (c) 2014 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.
mwah π β this page is from the User Contributed Perl Documentation, perl v5.42.0, dated 2024-01-02, and itβs the Net::LD...tUseCopy(3) manual page. byeee π¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-ldap 0.68-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms