[
https://issues.apache.org/jira/browse/AIRFLOW-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Riccomini closed AIRFLOW-702.
-----------------------------------
Resolution: Fixed
Fix Version/s: Airflow 1.8
> LDAP Auth Case Sensitive Regex
> ------------------------------
>
> Key: AIRFLOW-702
> URL: https://issues.apache.org/jira/browse/AIRFLOW-702
> Project: Apache Airflow
> Issue Type: Bug
> Components: security, webserver
> Environment: Connecting to Windows Active Directory
> Reporter: Robin Miller
> Assignee: Robin Miller
> Fix For: Airflow 1.8
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In the groups_user function in ldap_auth.py the regex is set to the following:
> regex = re.compile("cn=([^,]*).*")
> This is used to grab any groups by searching for sections of the form:
> "cn=LDAP_Group"
> However, Windows Active Directory returns groups in the form:
> "CN=LDAP_Group"
> This isn't caught by this regex, so throws an error when it tries to find it.
> An easy fix would be to make this regex case insensitive. I do not believe
> slackening this up will cause any issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)