Dictionary mapping the OIDs of known response controls to the accompanying ResponseControl classes. This is used by DecodeControlTuples() to automatically decode control values. Calling application can also register their custom ResponseControl classes in this dictionary possibly overriding pre-registered classes.
This module defines the following classes:
Base class for all request controls
sets class attribute encodedControlValue to the BER-encoded ASN.1 control value composed by class attributes set before
Base class for all response controls
decodes the BER-encoded ASN.1 control value and sets the appropriate class attributes
Base class for combined request/response controls mainly for backward-compability to python-ldap 2.3.x
This module defines the following functions:
Return list of readily encoded 3-tuples which can be directly passed to C module _ldap
Returns list of readily decoded ResponseControl objects
Various sub-modules implement specific LDAPv3 extended controls. The classes therein are derived from the base-classes ldap.controls.RequestControl, ldap.controls.ResponseControl or ldap.controls.LDAPControl.
Some of them require pyasn1 and pyasn1_modules to be installed:
Usually the names of the method arguments and the class attributes match the ASN.1 identifiers used in the specification. So looking at the referenced RFC or Internet-Draft is very helpful to understand the API.
Base class for controls without a controlValue. The presence of the control in a LDAPv3 request changes the server’s behaviour when processing the request simply based on the controlType.
Base class with controlValue being unsigend integer values
Base class for simple request controls with boolean control value.
Constructor argument and class attribute:
Manage DSA IT Control
See also
RFC 3296 - Named Subordinate References in Lightweight Directory Access Protocol (LDAP) Directories
Relax Rules Control
Proxy Authorization Control
See also
RFC 4370 - Lightweight Directory Access Protocol (LDAP): Proxied Authorization Control
Authorization Identity Request and Response Controls
See also
RFC 3829 - Lightweight Directory Access Protocol (LDAP): Authorization Identity Request and Response Controls
Authorization Identity Request and Response Controls
Class attributes:
See also
RFC 3829 - Lightweight Directory Access Protocol (LDAP): Authorization Identity Request and Response Controls
Get Effective Rights Control
This module wraps C functions in OpenLDAP client libs which implement various request and response controls into Python classes.
LDAP Assertion control, as defined in RFC 4528
See also
RFC 4528 - Lightweight Directory Access Protocol (LDAP) Assertion Control
LDAP Matched Values control, as defined in RFC 3876
See also
RFC 3876 - Returning Matched Values with the Lightweight Directory Access Protocol version 3 (LDAPv3)
LDAP Control Extension for Simple Paged Results Manipulation
See also
RFC 2696 - LDAP Control Extension for Simple Paged Results Manipulation
This module implements request and response controls for LDAP persistent search.
Implements the request control for persistent search.
Implements the response control for persistent search.
Class attributes with values extracted from the response control:
Class for Session Tracking Control
Because criticality MUST be false for this control it cannot be set from the application.
See also
RFC 4527 - Lightweight Directory Access Protocol (LDAP): Read Entry Controls
Base class for read entry control described in RFC 4527
Class attributes with values extracted from the response control:
Class for pre-read control described in RFC 4527
Class attributes with values extracted from the response control:
Class for post-read control described in RFC 4527
Class attributes with values extracted from the response control: