Net::LD...Constant(3)
okay bestie, this is Net::LDAP::Constant(3) from the User Contributed Perl Documentation, aka the constants page, and weβre gonna make it make sense π
β¨
π NAME π
Net::LDAP::Constant β constants for use with Net::LDAP π«Ά
β¨ SYNOPSIS β¨
use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
thatβs the whole vibe: pull in the constants you need by name, bestie π
πΈ DESCRIPTION πΈ
okay so Net::LDAP::Constant exports constants β technically constant subroutines, not just plain values, iykyk β for the LDAP status codes and OIDs listed in the sections below.
besides exporting individual constants, these tags can be used to export whole groups of constants, and thatβs lowkey iconic:
:allβ export every constant known toNet::LDAP::Constant.:codesβ export all LDAP status codes mentioned in the Protocol Constants section.:controlsβ export allLDAP_CONTROL_*constants.:extensionsβ export allLDAP_EXTENSION_*constants.:featuresβ export allLDAP_FEATURE_*constants.:capabilitiesβ export allLDAP_CAP_*constants.
π§Έ Protocol Constants π§Έ
these are the status codes, with their numbers, and what they mean. keep them close π
LDAP_SUCCESS(0) β operation completed without error β slay, no notes πLDAP_OPERATIONS_ERROR(1) β the server encountered an internal error πLDAP_PROTOCOL_ERROR(2) β unrecognized version number or incorrect PDU structure β the packet said no πLDAP_TIMELIMIT_EXCEEDED(3) β the time limit on a search operation has been exceeded β°LDAP_SIZELIMIT_EXCEEDED(4) β the maximum number of search results to return has been exceeded β too many results, bestie.LDAP_COMPARE_FALSE(5) β this code is returned when a compare request completes and the attribute value given is not in the entry specified.LDAP_COMPARE_TRUE(6) β this code is returned when a compare request completes and the attribute value given is in the entry specified β¨LDAP_AUTH_METHOD_NOT_SUPPORTED(7) β unrecognized SASL mechanism name.LDAP_STRONG_AUTH_NOT_SUPPORTED(7) β unrecognized SASL mechanism name.LDAP_STRONG_AUTH_REQUIRED(8) β the server requires authentication to be performed with a SASL mechanism πLDAP_PARTIAL_RESULTS(9) β returned to version 2 clients when a referral is returned. the response will contain a list of URLs for other servers.LDAP_REFERRAL(10) β the server is referring the client to another server. the response will contain a list of URLs.LDAP_ADMIN_LIMIT_EXCEEDED(11) β the server has exceeded the maximum number of entries to search while gathering a list of search result candidates.LDAP_UNAVAILABLE_CRITICAL_EXT(12) β a control or matching rule specified in the request is not supported by the server.LDAP_CONFIDENTIALITY_REQUIRED(13) β this result code is returned when confidentiality is required to perform a given operation.LDAP_SASL_BIND_IN_PROGRESS(14) β the server requires the client to send a new bind request, with the same SASL mechanism, to continue the authentication process.LDAP_NO_SUCH_ATTRIBUTE(16) β the request referenced an attribute that does not exist.LDAP_UNDEFINED_TYPE(17) β the request contains an undefined attribute type.LDAP_INAPPROPRIATE_MATCHING(18) β an extensible matching rule in the given filter does not apply to the specified attribute.LDAP_CONSTRAINT_VIOLATION(19) β the request contains a value which does not meet certain constraints. this result can be returned as a consequence of:- the request was to add or modify a user password, and the password fails to meet the criteria the server is configured to check. this could be that the password is too short, or a recognizable word (e.g. it matches one of the attributes in the userβs entry), or it matches a previous password used by the same user.
- the request is a bind request to a user account that has been locked.
LDAP_TYPE_OR_VALUE_EXISTS(20) β the request attempted to add an attribute type or value that already exists.LDAP_INVALID_SYNTAX(21) β some part of the request contained an invalid syntax. it could be a search with an invalid filter, or a request to modify the schema and the given schema has a bad syntax.LDAP_NO_SUCH_OBJECT(32) β the server cannot find an object specified in the request.LDAP_ALIAS_PROBLEM(33) β the server encountered a problem while attempting to dereference an alias.LDAP_INVALID_DN_SYNTAX(34) β the request contained an invalid DN.LDAP_IS_LEAF(35) β the specified entry is a leaf entry πLDAP_ALIAS_DEREF_PROBLEM(36) β the server encountered a problem while attempting to dereference an alias.LDAP_PROXY_AUTHZ_FAILURE(47) β the user bound is not authorized to assume the requested identity.LDAP_INAPPROPRIATE_AUTH(48) β the server requires the client β which had attempted to bind anonymously or without supplying credentials β to provide some form of credentials.LDAP_INVALID_CREDENTIALS(49) β the wrong password was supplied, or the SASL credentials could not be processed.LDAP_INSUFFICIENT_ACCESS(50) β the client does not have sufficient access to perform the requested operation.LDAP_BUSY(51) β the server is too busy to perform the requested operation.LDAP_UNAVAILABLE(52) β the server is unavailable to perform the request, or the server is shutting down.LDAP_UNWILLING_TO_PERFORM(53) β the server is unwilling to perform the requested operation.LDAP_LOOP_DETECT(54) β the server was unable to perform the request due to an internal loop detected.LDAP_SORT_CONTROL_MISSING(60) β the search contained a "virtual list view" control, but not a server-side sorting control, which is required when a "virtual list view" is given.LDAP_INDEX_RANGE_ERROR(61) β the search contained a control for a "virtual list view" and the results exceeded the range specified by the requested offsets.LDAP_NAMING_VIOLATION(64) β the request violates the structure of the DIT.LDAP_OBJECT_CLASS_VIOLATION(65) β the request specifies a change to an existing entry, or the addition of a new entry, that does not comply with the serverβs schema.LDAP_NOT_ALLOWED_ON_NONLEAF(66) β the requested operation is not allowed on an entry that has child entries.LDAP_NOT_ALLOWED_ON_RDN(67) β the requested operation will affect the RDN of the entry.LDAP_ALREADY_EXISTS(68) β the client attempted to add an entry that already exists. this can occur as a result of:- an add request was submitted with a DN that already exists.
- a modify DN request was submitted, where the requested new DN already exists.
- the request is adding an attribute to the schema and an attribute with the given OID or name already exists.
LDAP_NO_OBJECT_CLASS_MODS(69) β the request attempted to modify the object class of an entry that should not be modified.LDAP_RESULTS_TOO_LARGE(70) β the results of the request are too large.LDAP_AFFECTS_MULTIPLE_DSAS(71) β the requested operation needs to be performed on multiple servers where the requested operation is not permitted.LDAP_VLV_ERROR(76) β a VLV error has occurred.LDAP_OTHER(80) β an unknown error has occurred.LDAP_SERVER_DOWN(81) βNet::LDAPcannot establish a connection or the connection has been lost.LDAP_LOCAL_ERROR(82) β an error occurred inNet::LDAP.LDAP_ENCODING_ERROR(83) βNet::LDAPencountered an error while encoding the request packet that would have been sent to the server.LDAP_DECODING_ERROR(84) βNet::LDAPencountered an error while decoding a response packet from the server.LDAP_TIMEOUT(85) βNet::LDAPtimeout while waiting for a response from the server.LDAP_AUTH_UNKNOWN(86) β the method of authentication requested in a bind request is unknown to the server.LDAP_FILTER_ERROR(87) β an error occurred while encoding the given search filter.LDAP_USER_CANCELED(88) β the user canceled the operation.LDAP_PARAM_ERROR(89) β an invalid parameter was specified.LDAP_NO_MEMORY(90) β out of memory error.LDAP_CONNECT_ERROR(91) β a connection to the server could not be established.LDAP_NOT_SUPPORTED(92) β an attempt has been made to use a feature not supported byNet::LDAP.LDAP_CONTROL_NOT_FOUND(93) β the controls required to perform the requested operation were not found.LDAP_NO_RESULTS_RETURNED(94) β no results were returned from the server.LDAP_MORE_RESULTS_TO_RETURN(95) β there are more results in the chain of results.LDAP_CLIENT_LOOP(96) β a loop has been detected. for example, when following referrals.LDAP_REFERRAL_LIMIT_EXCEEDED(97) β the referral hop limit has been exceeded.LDAP_CANCELED(118) β operation was canceled.LDAP_NO_SUCH_OPERATION(119) β the server has no knowledge of the operation requested for cancellation.LDAP_TOO_LATE(120) β too late to cancel the outstanding operation.LDAP_CANNOT_CANCEL(121) β the identified operation does not support cancellation, or the cancel operation cannot be performed.LDAP_ASSERTION_FAILED(122) β an assertion control given in the LDAP operation evaluated to false, causing the operation to not be performed.LDAP_SYNC_REFRESH_REQUIRED(4096) β refresh required.
π Control OIDs π
control OIDs identify LDAP Controls β thatβs the whole job π
by announcing the respective OIDs in the operational attribute supportedControls of the Root DSE, an LDAP server indicates which LDAP Controls it supports. iconic behavior.
LDAP_CONTROL_SORTREQUEST(1.2.840.113556.1.4.473) β seeNet::LDAP::Control::Sort.LDAP_CONTROL_SORTRESULT(1.2.840.113556.1.4.474) β seeNet::LDAP::Control::SortResult.LDAP_CONTROL_SORTRESPONSE(1.2.840.113556.1.4.474) β seeNet::LDAP::Control::SortResult.LDAP_CONTROL_VLVREQUEST(2.16.840.1.113730.3.4.9) β seeNet::LDAP::Control::VLV.LDAP_CONTROL_VLVRESPONSE(2.16.840.1.113730.3.4.10) β seeNet::LDAP::Control::VLVResponse.LDAP_CONTROL_PROXYAUTHORIZATION(2.16.840.1.113730.3.4.18) β seeNet::LDAP::Control::ProxyAuth.LDAP_CONTROL_PROXYAUTHENTICATION(2.16.840.1.113730.3.4.18) β seeNet::LDAP::Control::ProxyAuth.LDAP_CONTROL_PAGED(1.2.840.113556.1.4.319) β seeNet::LDAP::Control::Paged.LDAP_CONTROL_TREE_DELETE(1.2.840.113556.1.4.805) β seeNet::LDAP::Control::TreeDelete.LDAP_CONTROL_MATCHEDVALS(1.2.826.0.1.3344810.2.2) β outdated OID mentioned in predecessors to RFC 3876. superseded byLDAP_CONTROL_MATCHEDVALUES.LDAP_CONTROL_MATCHEDVALUES(1.2.826.0.1.3344810.2.3) β seeNet::LDAP::Control::MatchedValues.LDAP_CONTROL_MANAGEDSAIT(2.16.840.1.113730.3.4.2) β seeNet::LDAP::Control::ManageDsaIT.LDAP_CONTROL_PERSISTENTSEARCHβ(2.16.840.1.113730.3.4.3)β seeNet::LDAP::Control::PersistentSearch.LDAP_CONTROL_ENTRYCHANGEβ(2.16.840.1.113730.3.4.7)β seeNet::LDAP::Control::EntryChange.LDAP_CONTROL_PWEXPIREDβ(2.16.840.1.113730.3.4.4)LDAP_CONTROL_PWEXPIRINGβ(2.16.840.1.113730.3.4.5)LDAP_CONTROL_REFERRALSβ(1.2.840.113556.1.4.616)LDAP_CONTROL_RELAXβ(1.3.6.1.4.1.4203.666.5.12)β seeNet::LDAP::Control::Relax.LDAP_CONTROL_PASSWORDPOLICYβ(1.3.6.1.4.1.42.2.27.8.5.1)β seeNet::LDAP::Control::PasswordPolicy.LDAP_CONTROL_PERMISSIVEMODIFYβ(1.2.840.113556.1.4.1413)LDAP_CONTROL_PREREADβ(1.3.6.1.1.13.1)β seeNet::LDAP::Control::PreRead.LDAP_CONTROL_POSTREADβ(1.3.6.1.1.13.2)β seeNet::LDAP::Control::PostRead.LDAP_CONTROL_ASSERTIONβ(1.3.6.1.1.12)β seeNet::LDAP::Control::Assertion.LDAP_CONTROL_DONTUSECOPYβ(1.3.6.1.1.22)β seeNet::LDAP::Control::DontUseCopy.LDAP_CONTROL_NOOPβ(1.3.6.1.4.1.4203.666.5.2)β seeNet::LDAP::Control::NoOp.LDAP_CONTROL_SUBENTRIESβ(1.3.6.1.4.1.4203.1.10.1)β seeNet::LDAP::Control::Subentries.LDAP_CONTROL_SYNCβ(1.3.6.1.4.1.4203.1.9.1.1)β seeNet::LDAP::Control::SyncRequest.LDAP_CONTROL_SYNC_STATEβ(1.3.6.1.4.1.4203.1.9.1.2)β seeNet::LDAP::Control::SyncState.LDAP_CONTROL_SYNC_DONEβ(1.3.6.1.4.1.4203.1.9.1.3)β seeNet::LDAP::Control::SyncDone.LDAP_SYNC_INFOβ(1.3.6.1.4.1.4203.1.9.1.4)
ποΈ Control constants ποΈ
LDAP_PP_PASSWORD_EXPIREDβ(0)[LDAP_CONTROL_PASSWORDPOLICY]β the account's password has expired.LDAP_PP_ACCOUNT_LOCKEDβ(1)[LDAP_CONTROL_PASSWORDPOLICY]β the account is locked.LDAP_PP_CHANGE_AFTER_RESETβ(2)[LDAP_CONTROL_PASSWORDPOLICY]β the account's password has been reset and now must be changed.LDAP_PP_PASSWORD_MOD_NOT_ALLOWEDβ(3)[LDAP_CONTROL_PASSWORDPOLICY]β the account's password may not be modified.LDAP_PP_MUST_SUPPLY_OLD_PASSWORDβ(4)[LDAP_CONTROL_PASSWORDPOLICY]β the old password must also be supplied when setting a new password.LDAP_PP_INSUFFICIENT_PASSWORD_QUALITYβ(5)[LDAP_CONTROL_PASSWORDPOLICY]β the new password was not of sufficient quality.LDAP_PP_PASSWORD_TOO_SHORTβ(6)[LDAP_CONTROL_PASSWORDPOLICY]β the new password was too short.LDAP_PP_PASSWORD_TOO_YOUNGβ(7)[LDAP_CONTROL_PASSWORDPOLICY]β the previous password was changed too recently.LDAP_PP_PASSWORD_IN_HISTORYβ(8)[LDAP_CONTROL_PASSWORDPOLICY]β the new password was used too recently.LDAP_SYNC_NONEβ(0)[LDAP_CONTROL_SYNC]LDAP_SYNC_REFRESH_ONLYβ(1)[LDAP_CONTROL_SYNC]LDAP_SYNC_RESERVEDβ(2)[LDAP_CONTROL_SYNC]LDAP_SYNC_REFRESH_AND_PERSISTβ(3)[LDAP_CONTROL_SYNC]LDAP_SYNC_REFRESH_PRESENTSβ(0)[LDAP_SYNC_INFO]LDAP_SYNC_REFRESH_DELETESβ(1)[LDAP_SYNC_INFO]LDAP_TAG_SYNC_NEW_COOKIEβ(0x80)[LDAP_SYNC_INFO]LDAP_TAG_SYNC_REFRESH_DELETEβ(0xa1)[LDAP_SYNC_INFO]LDAP_TAG_SYNC_REFRESH_PRESENTβ(0xa2)[LDAP_SYNC_INFO]LDAP_TAG_SYNC_ID_SETβ(0xa3)[LDAP_SYNC_INFO]LDAP_TAG_SYNC_COOKIEβ(0x04)[LDAP_SYNC_INFO]LDAP_TAG_REFRESHDELETESβ(0x01)[LDAP_SYNC_INFO]LDAP_TAG_REFRESHDONEβ(0x01)[LDAP_SYNC_INFO]LDAP_TAG_RELOAD_HINTβ(0x01)[LDAP_CONTROL_SYNC]LDAP_SYNC_PRESENTβ(0)[LDAP_CONTROL_SYNC_STATE]LDAP_SYNC_ADDβ(1)[LDAP_CONTROL_SYNC_STATE]LDAP_SYNC_MODIFYβ(2)[LDAP_CONTROL_SYNC_STATE]LDAP_SYNC_DELETEβ(3)[LDAP_CONTROL_SYNC_STATE]
π’ Active Directory Control OIDs π’
See section LDAP Extended Controls in <https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-ADTS/[MS-ADTS].pdf>.
LDAP_CONTROL_SHOW_DELETEDβ(1.2.840.113556.1.4.417)LDAP_CONTROL_CROSSDOMAIN_MOVEβ(1.2.840.113556.1.4.521)LDAP_CONTROL_SERVER_NOTIFICATIONβ(1.2.840.113556.1.4.528)LDAP_CONTROL_EXTENDED_DNβ(1.2.840.113556.1.4.529)LDAP_CONTROL_LAZY_COMMITβ(1.2.840.113556.1.4.619)LDAP_CONTROL_SD_FLAGSβ(1.2.840.113556.1.4.801)LDAP_CONTROL_RANGE_OPTIONβ(1.2.840.113556.1.4.802)LDAP_CONTROL_DIRSYNCβ(1.2.840.113556.1.4.841)LDAP_CONTROL_GET_STATSβ(1.2.840.113556.1.4.970)LDAP_CONTROL_VERIFY_NAMEβ(1.2.840.113556.1.4.1338)LDAP_CONTROL_DOMAIN_SCOPEβ(1.2.840.113556.1.4.1339)LDAP_CONTROL_SEARCH_OPTIONSβ(1.2.840.113556.1.4.1340)LDAP_CONTROL_RODC_DCPROMOβ(1.2.840.113556.1.4.1341)LDAP_CONTROL_ASQβ(1.2.840.113556.1.4.1504)LDAP_CONTROL_QUOTA_CONTROLβ(1.2.840.113556.1.4.1852)LDAP_CONTROL_SHUTDOWN_NOTIFYβ(1.2.840.113556.1.4.1907)LDAP_CONTROL_RANGE_RETRIEVAL_NOERRβ(1.2.840.113556.1.4.1948)LDAP_CONTROL_FORCE_UPDATEβ(1.2.840.113556.1.4.1974)LDAP_CONTROL_DN_INPUTβ(1.2.840.113556.1.4.2026)LDAP_CONTROL_SHOW_RECYCLEDβ(1.2.840.113556.1.4.2064)LDAP_CONTROL_SHOW_DEACTIVATED_LINKβ(1.2.840.113556.1.4.2065)LDAP_CONTROL_POLICY_HINTS_DEPRECATEDβ(1.2.840.113556.1.4.2066)LDAP_CONTROL_DIRSYNC_EXβ(1.2.840.113556.1.4.2090)LDAP_CONTROL_TREE_DELETE_EXβ(1.2.840.113556.1.4.2204)LDAP_CONTROL_UPDATE_STATSβ(1.2.840.113556.1.4.2205)LDAP_CONTROL_SEARCH_HINTSβ(1.2.840.113556.1.4.2206)LDAP_CONTROL_EXPECTED_ENTRY_COUNTβ(1.2.840.113556.1.4.2211)LDAP_CONTROL_POLICY_HINTSβ(1.2.840.113556.1.4.2239)LDAP_CONTROL_SET_OWNERβ(1.2.840.113556.1.4.2255)LDAP_CONTROL_BYPASS_QUOTAβ(1.2.840.113556.1.4.2256)LDAP_CONTROL_LINK_TTLβ(1.2.840.113556.1.4.2309)LDAP_CONTROL_SET_CORRELATION_IDβ(1.2.840.113556.1.4.2330)LDAP_CONTROL_THREAD_TRACE_OVERRIDEβ(1.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.
LDAP_NOTICE_OF_DISCONNECTIONβ(1.3.6.1.4.1.1466.20036)β indicates that the server is about to close the connection due to an error (RFC 4511).LDAP_EXTENSION_START_TLSβ(1.3.6.1.4.1.1466.20037)β indicates if the server supports the Start TLS extension (RFC 4513). See"start_tls"inNet::LDAP.LDAP_EXTENSION_PASSWORD_MODIFYβ(1.3.6.1.4.1.4203.1.11.1)β indicates that the server supports the Password Modify extension (RFC 3062). SeeNet::LDAP::Extension::SetPassword.LDAP_EXTENSION_WHO_AM_Iβ(1.3.6.1.4.1.4203.1.11.3)β indicates that the server supports the"Who am I?"extension (RFC 4532). SeeNet::LDAP::Extension::WhoAmI.LDAP_EXTENSION_REFRESHβ(1.3.6.1.4.1.1466.101.119.1)β indicates that the server supports the Refresh extension (RFC 2589). SeeNet::LDAP::Extension::Refresh.LDAP_EXTENSION_CANCELβ(1.3.6.1.1.8)β indicates the server supports the Cancel extension (RFC 3909). SeeNet::LDAP::Extension::Cancel.
π’ Active Directory Extension OIDs π’
See section LDAP Extended Operations in <https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-ADTS/[MS-ADTS].pdf>.
LDAP_EXTENSION_FAST_BINDβ(1.2.840.113556.1.4.1781)LDAP_EXTENSION_BATCH_REQUESTβ(1.2.840.113556.1.4.2212)
π§ Novell eDirectory Extension OIDs π§
LDAP_EXTENSION_NDSTOLDAPβ(2.16.840.1.113719.1.27.100.2)LDAP_EXTENSION_SPLIT_PARTITIONβ(2.16.840.1.113719.1.27.100.3)LDAP_EXTENSION_MERGE_PARTITIONβ(2.16.840.1.113719.1.27.100.5)LDAP_EXTENSION_ADD_REPLICAβ(2.16.840.1.113719.1.27.100.7)LDAP_EXTENSION_REFRESH_LDAP_SERVERβ(2.16.840.1.113719.1.27.100.9)LDAP_EXTENSION_REMOVE_REPLICAβ(2.16.840.1.113719.1.27.100.11)LDAP_EXTENSION_PARTITION_ENTRY_COUNTβ(2.16.840.1.113719.1.27.100.13)LDAP_EXTENSION_CHANGE_REPLICA_TYPEβ(2.16.840.1.113719.1.27.100.15)LDAP_EXTENSION_GET_REPLICA_INFOβ(2.16.840.1.113719.1.27.100.17)LDAP_EXTENSION_LIST_REPLICASβ(2.16.840.1.113719.1.27.100.19)LDAP_EXTENSION_RECEIVE_ALL_UPDATESβ(2.16.840.1.113719.1.27.100.21)LDAP_EXTENSION_SEND_ALL_UPDATESβ(2.16.840.1.113719.1.27.100.23)LDAP_EXTENSION_REQUEST_PARTITIONSYNCβ(2.16.840.1.113719.1.27.100.25)LDAP_EXTENSION_REQUEST_SCHEMASYNCβ(2.16.840.1.113719.1.27.100.27)LDAP_EXTENSION_ABORT_PARTITION_OPERATIONβ(2.16.840.1.113719.1.27.100.29)LDAP_EXTENSION_GET_BINDDNβ(2.16.840.1.113719.1.27.100.31)LDAP_EXTENSION_GET_EFFECTIVE_PRIVILEGESβ(2.16.840.1.113719.1.27.100.33)LDAP_EXTENSION_SET_REPLICATION_FILTERβ(2.16.840.1.113719.1.27.100.35)LDAP_EXTENSION_GET_REPLICATION_FILTERβ(2.16.840.1.113719.1.27.100.37)LDAP_EXTENSION_CREATE_ORPHAN_PARTITIONβ(2.16.840.1.113719.1.27.100.39)LDAP_EXTENSION_REMOVE_ORPHAN_PARTITIONβ(2.16.840.1.113719.1.27.100.41)LDAP_EXTENSION_TRIGGER_BACKLINKERβ(2.16.840.1.113719.1.27.100.43)LDAP_EXTENSION_TRIGGER_DRLPROCESSβ(2.16.840.1.113719.1.27.100.45)LDAP_EXTENSION_TRIGGER_JANITORβ(2.16.840.1.113719.1.27.100.47)LDAP_EXTENSION_TRIGGER_LIMBERβ(2.16.840.1.113719.1.27.100.49)LDAP_EXTENSION_TRIGGER_SKULKERβ(2.16.840.1.113719.1.27.100.51)LDAP_EXTENSION_TRIGGER_SCHEMASYNCβ(2.16.840.1.113719.1.27.100.53)LDAP_EXTENSION_TRIGGER_PARTITIONPURGEβ(2.16.840.1.113719.1.27.100.55)LDAP_EXTENSION_MONITOR_EVENTSβ(2.16.840.1.113719.1.27.100.79)LDAP_EXTENSION_EVENT_NOTIFICATIONβ(2.16.840.1.113719.1.27.100.81)LDAP_EXTENSION_FILTERED_EVENT_MONITORβ(2.16.840.1.113719.1.27.100.84)LDAP_EXTENSION_LDAPBACKUPβ(2.16.840.1.113719.1.27.100.96)LDAP_EXTENSION_LDAPRESTOREβ(2.16.840.1.113719.1.27.100.98)LDAP_EXTENSION_GET_EFFECTIVE_LIST_PRIVILEGESβ(2.16.840.1.113719.1.27.100.103)LDAP_EXTENSION_CREATE_GROUPINGβ(2.16.840.1.113719.1.27.103.1)LDAP_EXTENSION_END_GROUPINGβ(2.16.840.1.113719.1.27.103.2)LDAP_EXTENSION_NMAS_PUT_LOGIN_CONFIGURATIONβ(2.16.840.1.113719.1.39.42.100.1)LDAP_EXTENSION_NMAS_GET_LOGIN_CONFIGURATIONβ(2.16.840.1.113719.1.39.42.100.3)LDAP_EXTENSION_NMAS_DELETE_LOGIN_CONFIGURATIONβ(2.16.840.1.113719.1.39.42.100.5)LDAP_EXTENSION_NMAS_PUT_LOGIN_SECRETβ(2.16.840.1.113719.1.39.42.100.7)LDAP_EXTENSION_NMAS_DELETE_LOGIN_SECRETβ(2.16.840.1.113719.1.39.42.100.9)LDAP_EXTENSION_NMAS_SET_PASSWORDβ(2.16.840.1.113719.1.39.42.100.11)LDAP_EXTENSION_NMAS_GET_PASSWORDβ(2.16.840.1.113719.1.39.42.100.13)LDAP_EXTENSION_NMAS_DELETE_PASSWORDβ(2.16.840.1.113719.1.39.42.100.15)LDAP_EXTENSION_NMAS_PASSWORD_POLICYCHECKβ(2.16.840.1.113719.1.39.42.100.17)LDAP_EXTENSION_NMAS_GET_PASSWORD_POLICY_INFOβ(2.16.840.1.113719.1.39.42.100.19)LDAP_EXTENSION_NMAS_CHANGE_PASSWORDβ(2.16.840.1.113719.1.39.42.100.21)LDAP_EXTENSION_NMAS_GAMSβ(2.16.840.1.113719.1.39.42.100.23)LDAP_EXTENSION_NMAS_MANAGEMENTβ(2.16.840.1.113719.1.39.42.100.25)LDAP_EXTENSION_START_FRAMED_PROTOCOLβ(2.16.840.1.113719.1.142.100.1)LDAP_EXTENSION_END_FRAMED_PROTOCOLβ(2.16.840.1.113719.1.142.100.4)LDAP_EXTENSION_LBURP_OPERATIONβ(2.16.840.1.113719.1.142.100.6)
β¨ 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.
LDAP_FEATURE_ALL_OPATTSβ(1.3.6.1.4.1.4203.1.5.1)β indicates if the server allows"+"for returning all operational attributes (RFC 3673).LDAP_FEATURE_OBJECTCLASS_ATTRS(1.3.6.1.4.1.4203.1.5.2) β says the server allows@objectclassfor returning all attributes used to represent a particular class of object (RFC 4529). Classy. πLDAP_FEATURE_ABSOLUTE_FILTERS(1.3.6.1.4.1.4203.1.5.3) β says the server supports(&)for the absolute True filter, and(|)for the absolute False filter (RFC 4526). Filter slay. β¨LDAP_FEATURE_LANGUAGE_TAG_OPTIONS(1.3.6.1.4.1.4203.1.5.4) β says the server supports language tag options of the formlang-language-tagwith attributes (RFC 3866). Language bestie behavior. πLDAP_FEATURE_LANGUAGE_RANGE_OPTIONS(1.3.6.1.4.1.4203.1.5.5) β says the server supports language tag range options (RFC 3866). Range queen. πLDAP_FEATURE_MODIFY_INCREMENT(1.3.6.1.1.14) β tells you if the server supports the Modify Increment extension (RFC 4525). SeemodifyinNet::LDAP. Increment and thrive. π₯
π’ Active Directory Capability OIDs π’
These constants are Microsoft Active Directoryβs own special little guys. They serve to denote capabilities via the non-standard operational attribute supportedCapabilities in the Root DSE of an LDAP server.
LDAP_CAP_ACTIVE_DIRECTORY(1.2.840.113556.1.4.800) β says the LDAP server is running Active Directory and is running as AD DS. Main character AD energy. πLDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG(1.2.840.113556.1.4.1791) β says the LDAP server on the DC is capable of signing and sealing on an NTLM authenticated connection, and that the server is capable of performing subsequent binds on a signed or sealed connection. Security girlie confirmed. πLDAP_CAP_ACTIVE_DIRECTORY_V51(1.2.840.113556.1.4.1670) β on an Active Directory DC operating as AD DS, the presence of this capability says the LDAP server is running at least the Windows 2003. On an Active Directory DC operating as AD LDS, the presence of this capability says the LDAP server is running at least the Windows 2008. Windows lore, fr fr. πͺLDAP_CAP_ACTIVE_DIRECTORY_ADAM(1.2.840.113556.1.4.1851) β says the LDAP server is running Active Directory as AD LDS. ADAM said hi. πLDAP_CAP_ACTIVE_DIRECTORY_ADAM_DIGEST(1.2.840.113556.1.4.1880) β says that on a DC operating as AD LDS, the DC accepts DIGEST-MD5 binds for AD LDS security principals. Digest it, bestie. π§LDAP_CAP_ACTIVE_DIRECTORY_PARTIAL_SECRETS(1.2.840.113556.1.4.1920) β says the Active Directory DC operating as AD DS is an RODC. Partial secrets, full icon. πΈLDAP_CAP_ACTIVE_DIRECTORY_V60(1.2.840.113556.1.4.1935) β says the LDAP server is running at least the Windows 2008. Vintage but valid. βLDAP_CAP_ACTIVE_DIRECTORY_V61_R2(1.2.840.113556.1.4.2080) β says the LDAP server is running at least the Windows 2008 R2. R2 and slaying. πLDAP_CAP_ACTIVE_DIRECTORY_W8(1.2.840.113556.1.4.2237) β says the LDAP server is running at least the Windows 2012. W8, no cap. π¦
π SEE ALSO π
Net::LDAPNet::LDAP::Message
βοΈ AUTHOR βοΈ
Written by Graham Barr gbarr@pobox.com. π«Ά
Got bugs or suggestions? 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. π
Final vibe check: perl v5.42.0, dated 2024-01-02 β Net::LD...Constant(3) signing off. π
β¨
π¦ 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