Net::LD...ageDsaIT(3)

πŸ’… Net::LDAP::Control::ManageDsaIT β€” like, the whole vibe

okay so bestie, welcome to the perl-ldap corner of the User Contributed Perl Documentation ✨ this little page is all about Net::LDAP::Control::ManageDsaIT, and honestly? she's a niche icon and we stan her πŸŽ€


🌸 NAME 🌸

Net::LDAP::Control::ManageDsaIT β€” an LDAPv3 Manage DSA-IT control object, no cap πŸ’…


✨ SYNOPSIS ✨

like, here's the whole thing in action, copy it and slay:

use Net::LDAP;
use Net::LDAP::Control::ManageDsaIT;

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

$manage = Net::LDAP::Control::ManageDsaIT->new( critical => 1 );

$msg = $ldap->modify( 'dc=sub,dc=mydomain,dc=eg",
                      changes => [
                        delete => { ref => 'ldap://ldap2/dc=sub,dc=mydom,dc=eg' },
                        add => { ref => 'ldap://ldap3/dc=sub,dc=mydom,dc=eg' } ],
                      control  => [ $manage ] );

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

(and yes bestie, that quote situation in the modify call is exactly how it's printed here β€” do not come for me, I'm just the messenger πŸ™ˆ)


πŸ¦‹ DESCRIPTION πŸ¦‹

so Net::LDAP::Control::ManageDsaIT gives you a whole interface for creating and manipulating objects that represent the ManageDsaIT control, as described by RFC 3296. iconic behavior, honestly πŸ‘‘

what does she actually do? she lets you manipulate referral and other special objects as if they were normal entries. yes, the special little guys get treated like everyone else. equality πŸ’–

the control is appropriate for LDAP search, compare, and literally all update requests β€” including add, delete, modify, and modifyDN (that's rename, iykyk) β€” per [RFC4511] πŸ”₯

its criticality may be TRUE or FALSE; it has no value. she's giving minimalism, she's giving "I don't need baggage," main character energy periodt ✨


πŸŽ€ CONSTRUCTOR ARGUMENTS πŸŽ€

since the ManageDsaIT control doesn't have any values β€” not a single one, she travels light 🧚 β€” only the constructor arguments described in Net::LDAP::Control are supported. that's it, that's the whole list πŸ’…


⭐ METHODS ⭐

same deal, bestie: since there are no additional values in the control, only the methods in Net::LDAP::Control are available for Net::LDAP::Control::ManageDsaIT objects. short and sweet, we love a low-maintenance icon 🫢


🌈 SEE ALSO 🌈

  • Net::LDAP
  • Net::LDAP::Control

go read those, they're the supporting cast and they ate πŸ’…βœ¨


πŸ’œ AUTHOR πŸ’œ

Peter Marschall <peter@adpm.de>.

and like, please report any bugs or post any suggestions to the perl-ldap mailing list <perl-ldap@perl.org> β€” they genuinely want to hear from you, no cap 🫢


Copyright (c) 2004 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. πŸ’–


ok that's the whole page, you're officially educated, go forth and manage those DSA-ITs bestie πŸ¦‹πŸ’…

so yeah β€” that was Net::LDAP...ageDsaIT(3) from perl v5.42.0, dated 2024-01-02. mwah, love u, bye πŸ’‹πŸŽ€

πŸ“¦ where this page comes from