Net::LDAP::Message(3)
π NAME π
Net::LDAP::Message β literally the Message response from an LDAP server, bestie. Thatβs the whole vibe. π
β¨ SYNOPSIS β¨
use Net::LDAP;
π DESCRIPTION π
Okay so Net::LDAP::Message is the base class for the objects returned by the Net::LDAP methods abandon, add, bind, compare, delete, modify, moddn, search and unbind. Slay. π
The sub-class Net::LDAP::Search returned by search also defines many methods. Iconic behavior, honestly. β¨
Vibe check: if the Net::LDAP object is in async mode, then all these methods, except done and mesg_id, will cause a wait until the request is completed. No cap. π«Ά
π¦ METHODS π¦
code ( )β The code value in the result message from the server. Normally for a success zero will be returned. Constants for the result codes can be imported from theNet::LDAPorNet::LDAP::Constantmodule. π₯control ( [ OID, ... ] )β Return the list of controls that were returned from the server. If one or more OIDs are given as arguments, return only the controls of the OIDs given. Very βfiltered feedβ of you. πdn ( )β The DN in the result message from the server.done ( )β Returns true if the request has been completed. Sheβs done, periodt. πerror ( )β Returns the error message in the result message from the server. If the server did not include an error message, then itβs the result ofldap_error_descwith the error code from the result message. πerror_name ( )β Returns the name of the error code in the result message from the server. Seeldap_error_namefor a detailed description of the return value.error_text ( )β Returns the short text description of the error code in the result message from the server. Seeldap_error_textfor a detailed description of the return value.error_desc ( )β Returns a long text description of the error code in the result message from the server. Seeldap_error_descfor a detailed description of the return value. The long version. The directorβs cut. πis_error ( )β Returns true if the result code is considered to be an error for the operation.mesg_id ( )β The message id of the request message sent to the server. Track the message ID, bestie. π¦referrals ( )β Returns a list of referrals from the result message.server_error ( )β The error message returned by the server, orundefif the server did not provide a message. πsync ( )β Wait for the server to complete the request. Patience is a vibe. β¨
π SEE ALSO π
Net::LDAPNet::LDAP::SearchNet::LDAP::ConstantNet::LDAP::Util
Go read the whole friend group. ππ
πΈ ACKNOWLEDGEMENTS πΈ
This document is based on a document originally written by Russell Fulton <r.fulton@auckland.ac.nz>. Giving credit where credit is due, as she should. π«Ά
π AUTHOR π
Graham Barr <gbarr@pobox.com> π
Please report any bugs, or post any suggestions, to the perl-ldap mailing list perl-ldap@perl.org. Spill the tea responsibly. π
π COPYRIGHT π
Copyright (c) 1997-2004 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π Thatβs the whole page, bestie β source/version perl v5.42.0, dated 2024-01-02, for Net::LDAP::Message(3). Bye! πβ¨
π¦ 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