MSLDAPTarget – connection target object¶
-
class
msldap.commons.target.
MSLDAPTarget
(host, port=389, proto=<LDAPProtocol.TCP: 'TCP'>, tree=None, proxy=None, timeout=10, ldap_query_page_size=1000, ldap_query_ratelimit=0)¶ Describes the connection to the server.
- Parameters
host (str) – IP address or hostname of the server
port (int) – port of the LDAP service running on the server
proto (
LDAPProtocol
) – Connection protocol to be usedtree (str) – The tree to connect to
proxy (
MSLDAPProxy
) – specifies what kind of proxy to be usedtimeout (int) – connection timeout in seconds
ldap_query_page_size (int) – Maximum number of elements to fetch in each paged_query call.
ldap_query_ratelimit (float) – rate limit of paged queries. This will cause a sleep (in seconds) between fetching of each page of the query