Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable ldap authentication #2090

Open
jcauserjt opened this issue Jul 21, 2023 · 2 comments
Open

How to enable ldap authentication #2090

jcauserjt opened this issue Jul 21, 2023 · 2 comments
Labels

Comments

@jcauserjt
Copy link

Environment

Flask-Appbuilder version: 4.3.4

Describe the expected results

I am setting the following in config.py but it still doesn't seem to be using ldap in any way. Anything I can do to check?

AUTH_TYPE = AUTH_LDAP
AUTH_LDAP_SERVER = "ldaps://my-ldap-server.com
AUTH_LDAP_USE_TLS = False

Describe the actual results

Nothing seems to happen, and checking the underlying database the user table is not populated (which is something I would have expected)

Steps to reproduce

@ThomasP0815
Copy link
Contributor

This configuration is not sufficient for doing ldap authentication !
How does your whole configuration looks like according ldap variables (AUTH_LDAP_...) ?
For populating the user table you also have to use the option AUTH_USER_REGISTRATION = True !

@zeddit
Copy link

zeddit commented Sep 25, 2023

@dpgaspar
I have a similar issue for not able to login with ldap.
the web server tells me that {manager.py:914} ERROR - LDAP Could not activate TLS on established connection with ldap://ldap.xxx.tech.
I am using apache/airflow:2.7.0-python3.11 image and a full log could be seen here: airflow-helm/charts#779

I cannot figure out and fix the problem. great thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants