A connection to the LDAP server is established. By default, LDAP server uses port number 389.
Connection to the LDAP server is created. In this example, localhost is used for convenience.