airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Jacobs (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-1711) Ldap Attributes not always a "list" part 2
Date Thu, 12 Oct 2017 20:22:01 GMT
Steve Jacobs created AIRFLOW-1711:

             Summary: Ldap Attributes not always a "list" part 2
                 Key: AIRFLOW-1711
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib
    Affects Versions: Airflow 1.7.1
         Environment: Linux + Active Directory
            Reporter: Steve Jacobs

in the LDAP auth module

`group_contains_user` checks for `resp['attributes'].get(user_name_attr)[0] == username`

Some Ldaps apparently have this as a simple string

`resp['attributes'].get(user_name_attr) == username` 

also should be checked

This message was sent by Atlassian JIRA

View raw message