BrainMonkey commented on issue #13818:
URL: https://github.com/apache/airflow/issues/13818#issuecomment-765509790
@gardnerdev Does LDAP still work for you and just rbac accounts are not? On
2.0.0 I can not get LDAP to work and not sure if it is because I have the RBAC
account created.
I have no noticeable errors when I set logging debug and using LDAP. If I
dont have the certs, I get an error so I know that works. It just spins logging
in until there appears to be a timeout.
This is my webserver-config.py
```
import os
from airflow import configuration as conf
from flask_appbuilder.security.manager import AUTH_LDAP
basedir = os.path.abspath(os.path.dirname(__file__))
SQLALCHEMY_DATABASE_URI = conf.get("core", "SQL_ALCHEMY_CONN")
AUTH_TYPE = AUTH_LDAP
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = 'Admin'
AUTH_LDAP_SERVER = 'ldaps://..........:........'
AUTH_LDAP_TLS_CACERTDIR = '/usr/local/airflow/certs'
#AUTH_LDAP_TLS_CERTFILE = '/usr/local/airflow/certs/......cer'
AUTH_LDAP_BIND_USER = '.............'
AUTH_LDAP_BIND_PASSWORD = '......................'
```
----------------------------------------------------------------
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]