Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePirateWhoSmellsOfSunflowers committed Aug 14, 2024
1 parent ede8f3b commit 8df6332
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ This is a bleeding edge version. This version includes:
* https://github.com/cannatag/ldap3/pull/1139: fix requirements.txt
* https://github.com/cannatag/ldap3/pull/1150: adding microsoft fastbind extended operation
* https://github.com/cannatag/ldap3/pull/1151: fix CBT computing when cert digest algo is not MD5, SHA1 or SHA256
* https://github.com/cannatag/ldap3/pull/1153: [DOC] Fix grammar and sentence structure
* https://github.com/cannatag/ldap3/pull/1155: [DOC] Fix `Unexpected indentation` error within the doc

A more pythonic LDAP
--------------------

LDAP operations look clumsy and hard-to-use because they reflect the old-age idea that time-consuming operations should be performed client-side
to not hog the server with heavy elaborations. To alleviate this ldap3 includes a fully functional **Abstraction Layer** that lets you
interact with the LDAP server in a modern and *pythonic* way. With the Abstraction Layer you don't need to directly issue any LDAP operation at all.


Thread safe strategies
----------------------

In multithreaded programs you must use one of **SAFE_SYNC** (synchronous connection strategy), **SAFE_RESTARTABLE** (restartable syncronous connection strategy) or **ASYNC** (asynchronous connection strategy).
Each LDAP operation with SAFE_SYNC or SAFE_RESTARTABLE strategies returns a tuple of four elements: status, result, response and request.

* status: states if the operation was successful

* result: the LDAP result of the operation

* response: the response of a LDAP Search Operation


A more pythonic LDAP
--------------------
Expand Down

0 comments on commit 8df6332

Please sign in to comment.