python-ldap Reference Documentation¶
This document describes the package python-ldap with its various modules.
Depending on what you want to do this manual assumes basic to expert knowledge about the Python language and the LDAP standard (LDAPv3).
ldap
LDAP library interface module- Functions
- Constants
- Exceptions
LDAPError
ADMINLIMIT_EXCEEDED
AFFECTS_MULTIPLE_DSAS
ALIAS_DEREF_PROBLEM
ALIAS_PROBLEM
ALREADY_EXISTS
AUTH_UNKNOWN
BUSY
CLIENT_LOOP
COMPARE_FALSE
COMPARE_TRUE
CONFIDENTIALITY_REQUIRED
CONNECT_ERROR
CONSTRAINT_VIOLATION
CONTROL_NOT_FOUND
DECODING_ERROR
ENCODING_ERROR
FILTER_ERROR
INAPPROPRIATE_AUTH
INAPPROPRIATE_MATCHING
INSUFFICIENT_ACCESS
INVALID_CREDENTIALS
INVALID_DN_SYNTAX
INVALID_SYNTAX
IS_LEAF
LOCAL_ERROR
LOOP_DETECT
MORE_RESULTS_TO_RETURN
NAMING_VIOLATION
NO_OBJECT_CLASS_MODS
NOT_ALLOWED_ON_NONLEAF
NOT_ALLOWED_ON_RDN
NOT_SUPPORTED
NO_MEMORY
NO_RESULTS_RETURNED
NO_SUCH_ATTRIBUTE
NO_SUCH_OBJECT
OBJECT_CLASS_VIOLATION
OPERATIONS_ERROR
OTHER
PARAM_ERROR
PARTIAL_RESULTS
PROTOCOL_ERROR
RESULTS_TOO_LARGE
SASL_BIND_IN_PROGRESS
SERVER_DOWN
SIZELIMIT_EXCEEDED
STRONG_AUTH_NOT_SUPPORTED
STRONG_AUTH_REQUIRED
TIMELIMIT_EXCEEDED
TIMEOUT
TYPE_OR_VALUE_EXISTS
UNAVAILABLE
UNAVAILABLE_CRITICAL_EXTENSION
UNDEFINED_TYPE
UNWILLING_TO_PERFORM
USER_CANCELLED
- Warnings
- LDAPObject classes
- Example
ldap.asyncsearch
Stream-processing of large search resultsldap.controls
High-level access to LDAPv3 extended controlsldap.dn
LDAP Distinguished Name handlingldap.extop
High-level access to LDAPv3 extended operationsldap.filter
LDAP filter handlingldap.modlist
Generate modify listsldap.resiter
Generator for stream-processing of large search resultsldap.schema
Handling LDAPv3 schemaldap.syncrepl
Implementation of a syncrepl consumerldap.sasl
SASL Authentication Methodsldif
LDIF parser and generatorldapurl
LDAP URL handlingslapdtest
Spawning test instances of OpenLDAP’s slapd server