xpyct600 commented on issue #8179: Airflow LDAP authentication with RBAC features URL: https://github.com/apache/airflow/issues/8179#issuecomment-612755217 Hi @Abhishekchechani , Seems it can't find ldap group. Place "print(group_cn)" to try block to see group list. In my case: ``` CN=airflow_op_test,OU=airflow,OU=groups,OU=qiwi,DC=hq,DC=qiwi,DC=com CN=airflow_admin,OU=airflow,OU=groups,OU=qiwi,DC=hq,DC=qiwi,DC=com ``` If you don't see that, try to change search filter in ldap_sync.yaml. In my case: `group_search_filter: '(cn=airflow_*)'` Also may be you need to change other parameters (I'm using Active Directory): ``` group_object_class: 'Group' group_name_attr: 'cn' group_member_attr: 'member' ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
