'Binds to the LDAP server with the given credentials. This does not trap
exceptions.
If sticky is True, then we will consider the connection to be bound for
the life of this object. If False, then the caller only wishes to test
the credentials, after which the connection will be considered unbound.'

def _bind_as(self, bind_dn, bind_password, sticky=False):

    self._get_connection().simple_bind_s(force_str(bind_dn), force_str(bind_password))
    self._connection_bound = sticky
