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::LDAP
  • Net::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 (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