def __init__()

in app/lib/ldap.py [0:0]


    def __init__(self, user):
        # Verify correct user ID syntax, construct DN
        if not re.match(r"^[-_a-z0-9]+$", user):
            raise OAuthException("Invalid characters in User ID. Only lower-case alphanumerics, '-' and '_' allowed.")
        self.user = user