ldap3.strategy.sync module

class ldap3.strategy.sync.SyncStrategy(ldap_connection)

Bases: ldap3.strategy.base.BaseStrategy

This strategy is synchronous. You send the request and get the response Requests return a boolean value to indicate the result of the requested Operation Connection.response will contain the whole LDAP response for the messageId requested in a dict form Connection.request will contain the result LDAP message in a dict form

open(reset_usage=True, read_server_info=True)

Executed after a search request Returns the result message and store in connection.response the objects found


Executed after an Operation Request (except Search) Returns the result message or None


Receive data over the socket Checks if the socket is closed