authentication - airflow with OpenLDAP - LDAPAttributeError('invalid attribute type ' + attribute_name_to_check) LDAPAttributeError: invalid attribute type memberOf -
trying authenticate localsetup of airflow local openldap. while trying login webserver getting following error:
file "/usr/local/lib/python2.7/dist-packages/ldap3/core/connection.py", line 751, in search raise ldapattributeerror('invalid attribute type ' + attribute_name_to_check)
ldapattributeerror: invalid attribute type memberof
error indicates memberof invalid attribute type. ldap section configuration is:
superuser_filter = memberof=cn=airflow-super-users,ou=groups,dc=example,dc=com data_profiler_filter = memberof=cn=airflow-data-profilers,ou=groups,dc=example,dc=com
after search understood should have configured groups overley memberof
attribute. can't redo setup getting functionality. there workaround?
additionally there 1 python package (airflow-alt-ldap) can workaround. it's not working airflow 1.8.1 setup
no. memberof
feature of memberof
overlay. nothing else.
Comments
Post a Comment