'bind(who, cred, method) -> int'

def bind(self, who, cred, method=ldap.AUTH_SIMPLE):

    assert (method == ldap.AUTH_SIMPLE), 'Only    simple    bind    supported    in    LDAPObject.bind()'
    return self.simple_bind(who, cred)
