man > Net::LDAP::Constant(3pm)

📖 NAME

Net::LDAP::Constant - Constants for use with Net::LDAP

🚀 Quick Reference

Use CaseCommandDescription
🔧 Import all constantsuse Net::LDAP qw(:all);Import every known constant from Net::LDAP::Constant
🔢 Import only status codesuse Net::LDAP qw(:codes);Import only LDAP status code constants (e.g. LDAP_SUCCESS)
🎛️ Import control OIDsuse Net::LDAP qw(:controls);Import all LDAP_CONTROL_* OID constants
🔌 Import extension OIDsuse Net::LDAP qw(:extensions);Import all LDAP_EXTENSION_* OID constants
⭐ Import feature OIDsuse Net::LDAP qw(:features);Import all LDAP_FEATURE_* OID constants
🖥️ Import AD capability OIDsuse Net::LDAP qw(:capabilities);Import all LDAP_CAP_* OID constants
✅ Check successif ($mesg->code == LDAP_SUCCESS)Test if an LDAP operation completed without error
❌ Check specific errorif ($mesg->code == LDAP_NO_SUCH_OBJECT)Test for a specific LDAP error condition

📋 SYNOPSIS

use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);

📝 DESCRIPTION

Net::LDAP::Constant exports constants, technically: constant subroutines, for the LDAP status codes and OIDs listed in the sections below.

In addition to exporting individual constants, the following tags can be used to export groups of constants.

🔢 Protocol Constants

🎮 Control OIDs

Control OIDs identify LDAP Controls. By announcing the respective OIDs in the operational attribute supportedControls of the Root DSE an LDAP server indicates which LDAP Controls it supports.

🎛️ Control Constants

🪟 Active Directory Control OIDs

See section LDAP Extended Controls in [MS-ADTS].pdf.

ConstantOID
LDAP_CONTROL_SHOW_DELETED1.2.840.113556.1.4.417
LDAP_CONTROL_CROSSDOMAIN_MOVE1.2.840.113556.1.4.521
LDAP_CONTROL_SERVER_NOTIFICATION1.2.840.113556.1.4.528
LDAP_CONTROL_EXTENDED_DN1.2.840.113556.1.4.529
LDAP_CONTROL_LAZY_COMMIT1.2.840.113556.1.4.619
LDAP_CONTROL_SD_FLAGS1.2.840.113556.1.4.801
LDAP_CONTROL_RANGE_OPTION1.2.840.113556.1.4.802
LDAP_CONTROL_DIRSYNC1.2.840.113556.1.4.841
LDAP_CONTROL_GET_STATS1.2.840.113556.1.4.970
LDAP_CONTROL_VERIFY_NAME1.2.840.113556.1.4.1338
LDAP_CONTROL_DOMAIN_SCOPE1.2.840.113556.1.4.1339
LDAP_CONTROL_SEARCH_OPTIONS1.2.840.113556.1.4.1340
LDAP_CONTROL_RODC_DCPROMO1.2.840.113556.1.4.1341
LDAP_CONTROL_ASQ1.2.840.113556.1.4.1504
LDAP_CONTROL_QUOTA_CONTROL1.2.840.113556.1.4.1852
LDAP_CONTROL_SHUTDOWN_NOTIFY1.2.840.113556.1.4.1907
LDAP_CONTROL_RANGE_RETRIEVAL_NOERR1.2.840.113556.1.4.1948
LDAP_CONTROL_FORCE_UPDATE1.2.840.113556.1.4.1974
LDAP_CONTROL_DN_INPUT1.2.840.113556.1.4.2026
LDAP_CONTROL_SHOW_RECYCLED1.2.840.113556.1.4.2064
LDAP_CONTROL_SHOW_DEACTIVATED_LINK1.2.840.113556.1.4.2065
LDAP_CONTROL_POLICY_HINTS_DEPRECATED1.2.840.113556.1.4.2066
LDAP_CONTROL_DIRSYNC_EX1.2.840.113556.1.4.2090
LDAP_CONTROL_TREE_DELETE_EX1.2.840.113556.1.4.2204
LDAP_CONTROL_UPDATE_STATS1.2.840.113556.1.4.2205
LDAP_CONTROL_SEARCH_HINTS1.2.840.113556.1.4.2206
LDAP_CONTROL_EXPECTED_ENTRY_COUNT1.2.840.113556.1.4.2211
LDAP_CONTROL_POLICY_HINTS1.2.840.113556.1.4.2239
LDAP_CONTROL_SET_OWNER1.2.840.113556.1.4.2255
LDAP_CONTROL_BYPASS_QUOTA1.2.840.113556.1.4.2256
LDAP_CONTROL_LINK_TTL1.2.840.113556.1.4.2309
LDAP_CONTROL_SET_CORRELATION_ID1.2.840.113556.1.4.2330
LDAP_CONTROL_THREAD_TRACE_OVERRIDE1.2.840.113556.1.4.2354

🔌 Extension OIDs

Extension OIDs identify LDAP Extended operations. By announcing the respective OIDs in the operational attribute supportedExtension of the Root DSE an LDAP server indicates which LDAP Extended operations it supports.

🪟 Active Directory Extension OIDs

See section LDAP Extended Operations in [MS-ADTS].pdf.

🖥️ Novell eDirectory Extension OIDs

⭐ Feature OIDs

Feature OIDs identify LDAP features. By announcing the respective OIDs in the operational attribute supportedFeature of the Root DSE an LDAP server indicates which LDAP features it supports.

🖥️ Active Directory Capability OIDs

The following constants are specific to Microsoft Active Directory. They serve to denote capabilities via the non-standard operational attribute supportedCapabilities in the Root DSE of an LDAP server.

📚 SEE ALSO

Net::LDAP, Net::LDAP::Message

✍️ AUTHOR

Graham Barr <gbarr@pobox.com>

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>

📄 COPYRIGHT

Copyright (c) 1998-2009 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.

Net::LDAP::Constant(3pm)
📖 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION
🔢 Protocol Constants 🎮 Control OIDs 🎛️ Control Constants 🔌 Extension OIDs ⭐ Feature OIDs 🖥️ Active Directory Capability OIDs
📚 SEE ALSO ✍️ AUTHOR 📄 COPYRIGHT

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 03:36 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^