MSLDAPTarget – connection target object

class, port=389, proto=<LDAPProtocol.TCP: 'TCP'>, tree=None, proxy=None, timeout=10)

Describes the connection to the server.

  • 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 used

  • tree (str) – The tree to connect to

  • proxy (MSLDAPProxy) – specifies what kind of proxy to be used

  • timeout (int) – connection timeout in seconds