Module Protocols.LDAP
- Constant
GUID_USERS_CONTAINER
Constant GUID_COMPUTERS_CONTAINER
Constant GUID_SYSTEMS_CONTAINER
Constant GUID_DOMAIN_CONTROLLERS_CONTAINER
Constant GUID_INFRASTRUCTURE_CONTAINER
Constant GUID_DELETED_OBJECTS_CONTAINER
Constant GUID_LOSTANDFOUND_CONTAINER
Constant GUID_FOREIGNSECURITYPRINCIPALS_CONTAINER
Constant GUID_PROGRAM_DATA_CONTAINER
Constant GUID_MICROSOFT_PROGRAM_DATA_CONTAINER
Constant GUID_NTDS_QUOTAS_CONTAINER
constantstringProtocols.LDAP.GUID_USERS_CONTAINER
constantstringProtocols.LDAP.GUID_COMPUTERS_CONTAINER
constantstringProtocols.LDAP.GUID_SYSTEMS_CONTAINER
constantstringProtocols.LDAP.GUID_DOMAIN_CONTROLLERS_CONTAINER
constantstringProtocols.LDAP.GUID_INFRASTRUCTURE_CONTAINER
constantstringProtocols.LDAP.GUID_DELETED_OBJECTS_CONTAINER
constantstringProtocols.LDAP.GUID_LOSTANDFOUND_CONTAINER
constantstringProtocols.LDAP.GUID_FOREIGNSECURITYPRINCIPALS_CONTAINER
constantstringProtocols.LDAP.GUID_PROGRAM_DATA_CONTAINER
constantstringProtocols.LDAP.GUID_MICROSOFT_PROGRAM_DATA_CONTAINER
constantstringProtocols.LDAP.GUID_NTDS_QUOTAS_CONTAINER- Description
Constants for Microsoft AD Well-Known Object GUIDs. These are e.g. used in LDAP URLs:
"ldap://server/<WKGUID=" + Protocols.LDAP.GUID_USERS_CONTAINER + ",dc=my,dc=domain,dc=com>"
- Constant
LDAP_SUCCESS
Constant LDAP_OPERATIONS_ERROR
Constant LDAP_PROTOCOL_ERROR
Constant LDAP_TIMELIMIT_EXCEEDED
Constant LDAP_SIZELIMIT_EXCEEDED
Constant LDAP_COMPARE_FALSE
Constant LDAP_COMPARE_TRUE
Constant LDAP_AUTH_METHOD_NOT_SUPPORTED
Constant LDAP_STRONG_AUTH_NOT_SUPPORTED
Constant LDAP_STRONG_AUTH_REQUIRED
Constant LDAP_PARTIAL_RESULTS
Constant LDAP_REFERRAL
Constant LDAP_ADMINLIMIT_EXCEEDED
Constant LDAP_UNAVAILABLE_CRITICAL_EXTENSION
Constant LDAP_CONFIDENTIALITY_REQUIRED
Constant LDAP_SASL_BIND_IN_PROGRESS
Constant LDAP_NO_SUCH_ATTRIBUTE
Constant LDAP_UNDEFINED_TYPE
Constant LDAP_INAPPROPRIATE_MATCHING
Constant LDAP_CONSTRAINT_VIOLATION
Constant LDAP_TYPE_OR_VALUE_EXISTS
Constant LDAP_INVALID_SYNTAX
Constant LDAP_NO_SUCH_OBJECT
Constant LDAP_ALIAS_PROBLEM
Constant LDAP_INVALID_DN_SYNTAX
Constant LDAP_IS_LEAF
Constant LDAP_ALIAS_DEREF_PROBLEM
Constant LDAP_INAPPROPRIATE_AUTH
Constant LDAP_INVALID_CREDENTIALS
Constant LDAP_INSUFFICIENT_ACCESS
Constant LDAP_BUSY
Constant LDAP_UNAVAILABLE
Constant LDAP_UNWILLING_TO_PERFORM
Constant LDAP_LOOP_DETECT
Constant LDAP_SORT_CONTROL_MISSING
Constant LDAP_NAMING_VIOLATION
Constant LDAP_OBJECT_CLASS_VIOLATION
Constant LDAP_NOT_ALLOWED_ON_NONLEAF
Constant LDAP_NOT_ALLOWED_ON_RDN
Constant LDAP_ALREADY_EXISTS
Constant LDAP_NO_OBJECT_CLASS_MODS
Constant LDAP_RESULTS_TOO_LARGE
Constant LDAP_AFFECTS_MULTIPLE_DSAS
Constant LDAP_OTHER
constantintProtocols.LDAP.LDAP_SUCCESS
constantintProtocols.LDAP.LDAP_OPERATIONS_ERROR
constantintProtocols.LDAP.LDAP_PROTOCOL_ERROR
constantintProtocols.LDAP.LDAP_TIMELIMIT_EXCEEDED
constantintProtocols.LDAP.LDAP_SIZELIMIT_EXCEEDED
constantintProtocols.LDAP.LDAP_COMPARE_FALSE
constantintProtocols.LDAP.LDAP_COMPARE_TRUE
constantintProtocols.LDAP.LDAP_AUTH_METHOD_NOT_SUPPORTED
constantProtocols.LDAP.LDAP_STRONG_AUTH_NOT_SUPPORTED
constantintProtocols.LDAP.LDAP_STRONG_AUTH_REQUIRED
constantintProtocols.LDAP.LDAP_PARTIAL_RESULTS
constantintProtocols.LDAP.LDAP_REFERRAL
constantintProtocols.LDAP.LDAP_ADMINLIMIT_EXCEEDED
constantintProtocols.LDAP.LDAP_UNAVAILABLE_CRITICAL_EXTENSION
constantintProtocols.LDAP.LDAP_CONFIDENTIALITY_REQUIRED
constantintProtocols.LDAP.LDAP_SASL_BIND_IN_PROGRESS
constantintProtocols.LDAP.LDAP_NO_SUCH_ATTRIBUTE
constantintProtocols.LDAP.LDAP_UNDEFINED_TYPE
constantintProtocols.LDAP.LDAP_INAPPROPRIATE_MATCHING
constantintProtocols.LDAP.LDAP_CONSTRAINT_VIOLATION
constantintProtocols.LDAP.LDAP_TYPE_OR_VALUE_EXISTS
constantintProtocols.LDAP.LDAP_INVALID_SYNTAX
constantintProtocols.LDAP.LDAP_NO_SUCH_OBJECT
constantintProtocols.LDAP.LDAP_ALIAS_PROBLEM
constantintProtocols.LDAP.LDAP_INVALID_DN_SYNTAX
constantintProtocols.LDAP.LDAP_IS_LEAF
constantintProtocols.LDAP.LDAP_ALIAS_DEREF_PROBLEM
constantintProtocols.LDAP.LDAP_INAPPROPRIATE_AUTH
constantintProtocols.LDAP.LDAP_INVALID_CREDENTIALS
constantintProtocols.LDAP.LDAP_INSUFFICIENT_ACCESS
constantintProtocols.LDAP.LDAP_BUSY
constantintProtocols.LDAP.LDAP_UNAVAILABLE
constantintProtocols.LDAP.LDAP_UNWILLING_TO_PERFORM
constantintProtocols.LDAP.LDAP_LOOP_DETECT
constantintProtocols.LDAP.LDAP_SORT_CONTROL_MISSING
constantintProtocols.LDAP.LDAP_NAMING_VIOLATION
constantintProtocols.LDAP.LDAP_OBJECT_CLASS_VIOLATION
constantintProtocols.LDAP.LDAP_NOT_ALLOWED_ON_NONLEAF
constantintProtocols.LDAP.LDAP_NOT_ALLOWED_ON_RDN
constantintProtocols.LDAP.LDAP_ALREADY_EXISTS
constantintProtocols.LDAP.LDAP_NO_OBJECT_CLASS_MODS
constantintProtocols.LDAP.LDAP_RESULTS_TOO_LARGE
constantintProtocols.LDAP.LDAP_AFFECTS_MULTIPLE_DSAS
constantintProtocols.LDAP.LDAP_OTHER- Description
LDAP result codes.
- See also
Protocols.LDAP.client.error_number, Protocols.LDAP.client.result.error_number
- Constant
LDAP_CONTROL_MANAGE_DSA_IT
constantstringProtocols.LDAP.LDAP_CONTROL_MANAGE_DSA_IT- Description
LDAP control: Manage DSA IT LDAPv3 control (RFC 3296): Control to indicate that the operation is intended to manage objects within the DSA (server) Information Tree.
- Constant
LDAP_CONTROL_VLVREQUEST
constantstringProtocols.LDAP.LDAP_CONTROL_VLVREQUEST- Description
LDAP control: LDAP Extensions for Scrolling View Browsing of Search Results (internet draft): Control used to request virtual list view support from the server.
- Constant
LDAP_CONTROL_VLVRESPONSE
constantstringProtocols.LDAP.LDAP_CONTROL_VLVRESPONSE- Description
LDAP control: LDAP Extensions for Scrolling View Browsing of Search Results (internet draft): Control used to pass virtual list view (VLV) data from the server to the client.
- Constant
LDAP_PAGED_RESULT_OID_STRING
constantstringProtocols.LDAP.LDAP_PAGED_RESULT_OID_STRING- Description
LDAP control: Microsoft AD: Control to instruct the server to return the results of a search request in smaller, more manageable packets rather than in one large block.
- Constant
LDAP_SERVER_ASQ_OID
constantstringProtocols.LDAP.LDAP_SERVER_ASQ_OID- Description
LDAP control: Microsoft AD: Control to force the query to be based on a specific DN-valued attribute.
- Constant
LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID
constantstringProtocols.LDAP.LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID- Description
LDAP control: Microsoft AD: Control used with an extended LDAP rename function to move an LDAP object from one domain to another.
- Constant
LDAP_SERVER_DIRSYNC_OID
constantstringProtocols.LDAP.LDAP_SERVER_DIRSYNC_OID- Description
LDAP control: Microsoft AD: Control that enables an application to search the directory for objects changed from a previous state.
- Constant
LDAP_SERVER_DOMAIN_SCOPE_OID
constantstringProtocols.LDAP.LDAP_SERVER_DOMAIN_SCOPE_OID- Description
LDAP control: Microsoft AD: Control used to instruct the LDAP server not to generate any referrals when completing a request.
- Constant
LDAP_SERVER_EXTENDED_DN_OID
constantstringProtocols.LDAP.LDAP_SERVER_EXTENDED_DN_OID- Description
LDAP control: Microsoft AD: Control to request an extended form of an Active Directory object distinguished name.
- Constant
LDAP_SERVER_LAZY_COMMIT_OID
constantstringProtocols.LDAP.LDAP_SERVER_LAZY_COMMIT_OID- Description
LDAP control: Microsoft AD: Control used to instruct the server to return the results of a DS modification command, such as add, delete, or replace, after it has been completed in memory, but before it has been committed to disk.
- Constant
LDAP_SERVER_NOTIFICATION_OID
constantstringProtocols.LDAP.LDAP_SERVER_NOTIFICATION_OID- Description
LDAP control: Microsoft AD: Control used with an extended LDAP asynchronous search function to register the client to be notified when changes are made to an object in Active Directory.
- Constant
LDAP_SERVER_PERMISSIVE_MODIFY_OID
constantstringProtocols.LDAP.LDAP_SERVER_PERMISSIVE_MODIFY_OID- Description
LDAP control: Microsoft AD: An LDAP modify request will normally fail if it attempts to add an attribute that already exists, or if it attempts to delete an attribute that does not exist. With this control, as long as the attribute to be added has the same value as the existing attribute, then the modify will succeed. With this control, deletion of an attribute that does not exist will also succeed.
- Constant
LDAP_SERVER_QUOTA_CONTROL_OID
constantstringProtocols.LDAP.LDAP_SERVER_QUOTA_CONTROL_OID- Description
LDAP control: Microsoft AD: Control used to pass the SID of a security principal, whose quota is being queried, to the server in a LDAP search operation.
- Constant
LDAP_SERVER_RESP_SORT_OID
constantstringProtocols.LDAP.LDAP_SERVER_RESP_SORT_OID- Description
LDAP control: Microsoft AD: Control used by the server to indicate the results of a search function initiated using the LDAP_SERVER_SORT_OID control.
- Constant
LDAP_SERVER_SD_FLAGS_OID
constantstringProtocols.LDAP.LDAP_SERVER_SD_FLAGS_OID- Description
LDAP control: Microsoft AD: Control used to pass flags to the server to control various security descriptor results.
- Constant
LDAP_SERVER_SEARCH_OPTIONS_OID
constantstringProtocols.LDAP.LDAP_SERVER_SEARCH_OPTIONS_OID- Description
LDAP control: Microsoft AD: Control used to pass flags to the server to control various search behaviors.
- Constant
LDAP_SERVER_SHOW_DELETED_OID
constantstringProtocols.LDAP.LDAP_SERVER_SHOW_DELETED_OID- Description
LDAP control: Microsoft AD: Control used to specify that the search results include any deleted objects that match the search filter.
- Constant
LDAP_SERVER_SORT_OID
constantstringProtocols.LDAP.LDAP_SERVER_SORT_OID- Description
LDAP control: Microsoft AD: Control used to instruct the server to sort the search results before returning them to the client application.
- Constant
LDAP_SERVER_TREE_DELETE_OID
constantstringProtocols.LDAP.LDAP_SERVER_TREE_DELETE_OID- Description
LDAP control: Microsoft AD: Control used to delete an entire subtree in the directory.
- Constant
LDAP_SERVER_VERIFY_NAME_OID
constantstringProtocols.LDAP.LDAP_SERVER_VERIFY_NAME_OID- Description
LDAP control: Microsoft AD: Control used to instruct the DC accepting the update which DC it should verify with, the existence of any DN attribute values.
- Constant
MODIFY_ADD
Constant MODIFY_DELETE
Constant MODIFY_REPLACE
constantintProtocols.LDAP.MODIFY_ADD
constantintProtocols.LDAP.MODIFY_DELETE
constantintProtocols.LDAP.MODIFY_REPLACE- Description
Constants used in the
attropvalargument to Protocols.LDAP.client.modify.
- Constant
SCOPE_BASE
Constant SCOPE_ONE
Constant SCOPE_SUB
constantintProtocols.LDAP.SCOPE_BASE
constantintProtocols.LDAP.SCOPE_ONE
constantintProtocols.LDAP.SCOPE_SUB- Description
Constants for the search scope used with e.g. Protocols.LDAP.client.set_scope.
- SCOPE_BASE
Return the object specified by the DN.
- SCOPE_ONE
Return the immediate subobjects of the object specified by the DN.
- SCOPE_SUB
Return the object specified by the DN and all objects below it (on any level).
- Constant
SEARCH_LOWER_ATTRS
Constant SEARCH_MULTIVAL_ARRAYS_ONLY
Constant SEARCH_RETURN_DECODE_ERRORS
constantintProtocols.LDAP.SEARCH_LOWER_ATTRS
constantintProtocols.LDAP.SEARCH_MULTIVAL_ARRAYS_ONLY
constantintProtocols.LDAP.SEARCH_RETURN_DECODE_ERRORS- Description
Bitfield flags given to Protocols.LDAP.client.search:
- SEARCH_LOWER_ATTRS
Lowercase all attribute values. This makes it easier to match specific attributes in the mappings returned by Protocols.LDAP.client.result.fetch since LDAP attribute names are case insensitive.
- SEARCH_MULTIVAL_ARRAYS_ONLY
Only use arrays for attribute values where the attribute syntax specify multiple values. I.e. the values for single valued attributes are returned as strings instead of arrays containing one string element.
If no value is returned for a single valued attribute, e.g. when
attrsonlyis set in the search call, then a zero will be used as value.The special
"dn"value is also returned as a string when this flag is set.Note that it's the attribute type descriptions that are used to decide this, not the number of values a particular attribute happens to have in the search result.
- SEARCH_RETURN_DECODE_ERRORS
Don't throw attribute value decode errors, instead return them in the result from Protocols.LDAP.client.result.fetch in place of the value. I.e. anywhere an attribute value string occurs, you might instead have a Charset.DecodeError object.
- Constant
SYNTAX_AD_CASE_IGNORE_STR
Constant SYNTAX_AD_LARGE_INT
Constant SYNTAX_AD_OBJECT_SECURITY_DESCRIPTOR
constantstringProtocols.LDAP.SYNTAX_AD_CASE_IGNORE_STR
constantstringProtocols.LDAP.SYNTAX_AD_LARGE_INT
constantstringProtocols.LDAP.SYNTAX_AD_OBJECT_SECURITY_DESCRIPTOR- Description
LDAP syntax: Microsoft AD: Additional syntaxes used in AD. C.f. <http://community.roxen.com/(all)/developers/idocs/drafts/ draft-armijo-ldap-syntax-00.html>.
- Constant
SYNTAX_ATTR_TYPE_DESCR
Constant SYNTAX_BINARY
Constant SYNTAX_BIT_STRING
Constant SYNTAX_BOOLEAN
Constant SYNTAX_CERT
Constant SYNTAX_CERT_LIST
Constant SYNTAX_CERT_PAIR
Constant SYNTAX_COUNTRY_STR
Constant SYNTAX_DN
Constant SYNTAX_DIRECTORY_STR
Constant SYNTAX_DIT_CONTENT_RULE_DESCR
Constant SYNTAX_FACSIMILE_PHONE_NUM
Constant SYNTAX_FAX
Constant SYNTAX_GENERALIZED_TIME
Constant SYNTAX_IA5_STR
Constant SYNTAX_INT
Constant SYNTAX_JPEG
Constant SYNTAX_MATCHING_RULE_DESCR
Constant SYNTAX_MATCHING_RULE_USE_DESCR
Constant SYNTAX_MHS_OR_ADDR
Constant SYNTAX_NAME_AND_OPTIONAL_UID
Constant SYNTAX_NAME_FORM_DESCR
Constant SYNTAX_NUMERIC_STRING
Constant SYNTAX_OBJECT_CLASS_DESCR
Constant SYNTAX_OID
Constant SYNTAX_OTHER_MAILBOX
Constant SYNTAX_POSTAL_ADDR
Constant SYNTAX_PRESENTATION_ADDR
Constant SYNTAX_PRINTABLE_STR
Constant SYNTAX_PHONE_NUM
Constant SYNTAX_UTC_TIME
Constant SYNTAX_LDAP_SYNTAX_DESCR
Constant SYNTAX_DIT_STRUCTURE_RULE_DESCR
constantstringProtocols.LDAP.SYNTAX_ATTR_TYPE_DESCR
constantstringProtocols.LDAP.SYNTAX_BINARY
constantstringProtocols.LDAP.SYNTAX_BIT_STRING
constantstringProtocols.LDAP.SYNTAX_BOOLEAN
constantstringProtocols.LDAP.SYNTAX_CERT
constantstringProtocols.LDAP.SYNTAX_CERT_LIST
constantstringProtocols.LDAP.SYNTAX_CERT_PAIR
constantstringProtocols.LDAP.SYNTAX_COUNTRY_STR
constantstringProtocols.LDAP.SYNTAX_DN
constantstringProtocols.LDAP.SYNTAX_DIRECTORY_STR
constantstringProtocols.LDAP.SYNTAX_DIT_CONTENT_RULE_DESCR
constantstringProtocols.LDAP.SYNTAX_FACSIMILE_PHONE_NUM
constantstringProtocols.LDAP.SYNTAX_FAX
constantstringProtocols.LDAP.SYNTAX_GENERALIZED_TIME
constantstringProtocols.LDAP.SYNTAX_IA5_STR
constantstringProtocols.LDAP.SYNTAX_INT
constantstringProtocols.LDAP.SYNTAX_JPEG
constantstringProtocols.LDAP.SYNTAX_MATCHING_RULE_DESCR
constantstringProtocols.LDAP.SYNTAX_MATCHING_RULE_USE_DESCR
constantstringProtocols.LDAP.SYNTAX_MHS_OR_ADDR
constantstringProtocols.LDAP.SYNTAX_NAME_AND_OPTIONAL_UID
constantstringProtocols.LDAP.SYNTAX_NAME_FORM_DESCR
constantstringProtocols.LDAP.SYNTAX_NUMERIC_STRING
constantstringProtocols.LDAP.SYNTAX_OBJECT_CLASS_DESCR
constantstringProtocols.LDAP.SYNTAX_OID
constantstringProtocols.LDAP.SYNTAX_OTHER_MAILBOX
constantstringProtocols.LDAP.SYNTAX_POSTAL_ADDR
constantstringProtocols.LDAP.SYNTAX_PRESENTATION_ADDR
constantstringProtocols.LDAP.SYNTAX_PRINTABLE_STR
constantstringProtocols.LDAP.SYNTAX_PHONE_NUM
constantstringProtocols.LDAP.SYNTAX_UTC_TIME
constantstringProtocols.LDAP.SYNTAX_LDAP_SYNTAX_DESCR
constantstringProtocols.LDAP.SYNTAX_DIT_STRUCTURE_RULE_DESCR- Description
LDAP syntax: Standard syntaxes from RFC 2252.
- Constant
SYNTAX_CASE_EXACT_STR
constantProtocols.LDAP.SYNTAX_CASE_EXACT_STR- Description
"caseExactString"is an alias used in e.g. RFC 2079.
- Constant
SYNTAX_DELIVERY_METHOD
Constant SYNTAX_ENHANCED_GUIDE
Constant SYNTAX_GUIDE
Constant SYNTAX_OCTET_STR
Constant SYNTAX_TELETEX_TERMINAL_ID
Constant SYNTAX_TELETEX_NUM
Constant SYNTAX_SUPPORTED_ALGORITHM
constantstringProtocols.LDAP.SYNTAX_DELIVERY_METHOD
constantstringProtocols.LDAP.SYNTAX_ENHANCED_GUIDE
constantstringProtocols.LDAP.SYNTAX_GUIDE
constantstringProtocols.LDAP.SYNTAX_OCTET_STR
constantstringProtocols.LDAP.SYNTAX_TELETEX_TERMINAL_ID
constantstringProtocols.LDAP.SYNTAX_TELETEX_NUM
constantstringProtocols.LDAP.SYNTAX_SUPPORTED_ALGORITHM- Description
LDAP syntax: Standard syntaxes from RFC 2256.
- Constant
ldap_error_strings
constantProtocols.LDAP.ldap_error_strings- Description
Mapping from
LDAP_*result codes to descriptive strings.
- Constant
syntax_decode_fns
constantmapping(string:function(string:string)) Protocols.LDAP.syntax_decode_fns- Description
Mapping containing functions to decode charsets in syntaxes where that's necessary. If the syntax is complex in a way that makes the result ambiguous if decoded with a single charset transformation then it should typically not be decoded here.
These decoders are used on all attribute values returned by Protocols.LDAP.client.result functions.
- Constant
syntax_encode_fns
constantmapping(string:function(string:string)) Protocols.LDAP.syntax_encode_fns- Description
Mapping containing the reverse functions from syntax_decode_fns.