airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-331) correct the airflow online documentation on "Security / Web Authentication / LDAP " section
Date Wed, 27 Jul 2016 21:34:20 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396417#comment-15396417
] 

ASF subversion and git services commented on AIRFLOW-331:
---------------------------------------------------------

Commit 7dbc3cd40e5c4f072897bcae46929ad61a2b4590 in incubator-airflow's branch refs/heads/master
from Peter Pang
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=7dbc3cd ]

[AIRFLOW-331] modify the LDAP authentication config lines in  'Security' sample codes

Closes #1674 from impangt/master


> correct the airflow online documentation on "Security / Web Authentication / LDAP " section
> -------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-331
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-331
>             Project: Apache Airflow
>          Issue Type: Wish
>          Components: docs
>    Affects Versions: Airflow 1.7.1.3
>            Reporter: peter pang
>            Assignee: peter pang
>            Priority: Minor
>              Labels: documentation
>             Fix For: Airflow 1.8
>
>
> I'm trying to setup LDAP authentication for airflow 1.7.1.3 
> I added the simple [ldap] config example showing onling to my airflow.cfg file, and the
ldap login couldn't work. 
> After debug the auth_ldap.py I found "user_name_attr" and "search_scope"  are not the
setting value.  
> in the auth_ldap.py , configuration.get("ldap", "user_name_attr") return value is the
whole line strings " uid # in case of Active Directory you would use" , include "#..." !!
> ====================
> [ldap]
> .....
> user_name_attr = uid # in case of Active Directory you would use 
> ....
> search_scope = LEVEL # Set this to SUBTREE if using Active Directory, and not specifying
an Organizational Unit
> =====================
> so the comment lines shouldn't be there, they must be in a new line with no space or
tab char before the '#'
> ====================
> [ldap]
> ........
> "#" in case of Active Directory you would use 
> user_name_attr = uid
> .......
> "#" Set this to SUBTREE if using Active Directory, and not specifying an Organizational
Unit
> search_scope = LEVEL
> =====================
> then ldap could work. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message