Net::LD...l::NoOp(3)

okay so welcome to Net::LD...l::NoOp(3) β€” the User Contributed Perl Documentation page for Net::LDAP::Control::NoOp, bestie πŸ¦‹. She’s giving major LDAP control object energy, and we’re gonna get through every single detail together. No skipping, no cap.

🌸 NAME 🌸

Net::LDAP::Control::NoOp β€” LDAPv3 Tree Delete control object

(Yes, that’s the original NAME line β€” keeping it exactly as written, even though the rest of the page is all No-Op control. The manpage said what it said πŸ’€)

✨ SYNOPSIS ✨

Here’s the whole flex, verbatim:

use Net::LDAP;
use Net::LDAP::Control::NoOp;

$ldap = Net::LDAP->new( "ldap.mydomain.eg" );

$noop = Net::LDAP::Control::NoOp->new();

$msg = $ldap->modify( 'cn=Barbara Jensen, o=University of Michigan, c=US',
                      control  => [ $noop ] );

die "error: ",$msg->code(),": ",$msg->error()  if ($msg->code());

πŸ’… DESCRIPTION πŸ’…

Net::LDAP::Control::NoOp provides an interface for the creation and manipulation of objects that represent the No-Op control as described by draft-zeilenga-ldap-noop-01.txt <https://tools.ietf.org/html/draft-zeilenga-ldap-noop-01>.

This control has no corresponding response control β€” like, none β€” and it’s appropriate for all LDAP update requests, including add, delete, modify, and moddn. It’s literally giving β€œdo all the work but don’t commit” energy, and honestly? Iconic.

Its criticality is always TRUE; it has no value. Periodt.

⚠️ The presence of the No-Op control in an operation request message disables the normal effect of the operation; i.e. the server will do all processing necessary to perform the operation but not actually update the directory. So yeah, full send, zero actual directory update β€” dramatic but true 😭

πŸŽ€ CONSTRUCTOR ARGUMENTS πŸŽ€

Since the NoOp control does not have any values, only the constructor arguments described in Net::LDAP::Control are supported.

That’s it, bestie β€” no extra values, no secret flags, no hidden vibes 🫢

πŸ¦‹ METHODS πŸ¦‹

As there are no additional values in the control, only the methods in Net::LDAP::Control are available for Net::LDAP::Control::NoOp objects.

πŸ”₯ 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) 2021 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.


Okay bestie, that’s the whole page. Footer tea: perl v5.42.0, dated 2024-01-02, and the page is Net::LD...l::NoOp(3). Bye, love you, go do an LDAP update with the training wheels on πŸ’–

πŸ“¦ where this page comes from