airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bo Blanton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-623) Ldap Attributes not always a "list"
Date Fri, 11 Nov 2016 22:29:58 GMT
Bo Blanton created AIRFLOW-623:
----------------------------------

             Summary: Ldap Attributes not always a "list"
                 Key: AIRFLOW-623
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-623
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib
    Affects Versions: Airflow 1.7.1
         Environment: Linux + Active Directory
            Reporter: Bo Blanton
             Fix For: Airflow 1.7.1


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
(v6.3.4#6332)

Mime
View raw message