superset icon indicating copy to clipboard operation
superset copied to clipboard

LDAP config ok but not working

Open viniciusrsdutra opened this issue 10 years ago • 8 comments

Hi everyone! I'm new to Caravel and made the necessary changes to bind to LDAP. According to the app log the changes are ok, but users can't login at the front end. Any help?

Thanks in advance ldap-problem ldap-problem-2

viniciusrsdutra avatar May 06 '16 21:05 viniciusrsdutra

This is actually managed by Flask Appbuilder, you may want to open an issue against their repo.

mistercrunch avatar May 06 '16 22:05 mistercrunch

@viniciusrsdutra see #334 - I was able to get LDAP auth working but the auto user creation on sign in doesn't seem to work.

andrewhn avatar May 06 '16 23:05 andrewhn

Thanks @mistercrunch! I've opened and issue against Flask AppBuilder repo.

@andrewhn, thanks also! The thing is I'm using OpenLDAP. I think might be a bug.

viniciusrsdutra avatar May 09 '16 15:05 viniciusrsdutra

Flask App builder has fixed this in version 1.6.1 but you have to enable AUTH_USER_REGISTRATION

mtrbean avatar May 13 '16 18:05 mtrbean

Thank you so much @mtrbean ! Now it's working!

viniciusrsdutra avatar May 31 '16 17:05 viniciusrsdutra

Looks like it has been fixed, closing.

xrmx avatar Aug 08 '16 16:08 xrmx

I hava enable AUTH_USER_REGISTRATION,but still come with the following error: Was unable to import caravel Error: name 'AUTH_LDAP' is not defined

fangyeqing avatar Nov 07 '16 12:11 fangyeqing

@fangyeqing AUTH_TYPE=2 http://flask-appbuilder.readthedocs.io/en/latest/config.html

only1zf avatar Nov 22 '16 07:11 only1zf