1.9 ldapurl -- LDAP URL handling

This module parses and generates LDAP URLs.

It is implemented in pure Python and does not rely on any non-standard modules. Therefore it can be used stand-alone without the rest of the python-ldap package.

Compability note: This module has been solely tested on Python 2.x and above.

The ldapurl module exports the following constants:

SEARCH_SCOPE
This dictionary maps a search scope string identifier to the corresponding integer value used with search operations in ldap.

SEARCH_SCOPE_STR
This dictionary is the inverse to SEARCH_SCOPE. It maps a search scope integer value to the corresponding string identifier used in a LDAP URL string representation.

LDAP_SCOPE_BASE

LDAP_SCOPE_ONELEVEL

LDAP_SCOPE_SUBTREE

See Also:

RFC 4516, The LDAP URL Format



Subsections