You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/12/24 08:34:41 UTC
[GitHub] PatrickWangHadoop commented on issue #4785: Not able to get the
debug logs or python stacktrace on errors even after LOG_LEVEL is set to
'DEBUG'
PatrickWangHadoop commented on issue #4785: Not able to get the debug logs or python stacktrace on errors even after LOG_LEVEL is set to 'DEBUG'
URL: https://github.com/apache/incubator-superset/issues/4785#issuecomment-449702940
> I got this working. I added the following 3 parameters
>
> `AUTH_USER_REGISTRATION = True`
> `AUTH_ROLE_PUBLIC = 'Public'`
> `AUTH_USER_REGISTRATION_ROLE = 'Public'`
>
> Superset config specifically needs the user registration as True for any user that logs in the first time. Closing this issue now.
I am facing the sam issue. But I cannot resolve the problem by adding the 3 params.
I am using ambari 2.7 + hdp3.0, superset 0.23.0, OpenLDAP2.4
Here is the configuration
from flask_appbuilder.security.manager import AUTH_OID,
AUTH_REMOTE_USER,
AUTH_DB, AUTH_LDAP,
AUTH_OAUTH,
AUTH_OAUTH
AUTH_LDAP_BIND_PASSWORD = 'hadoop'
AUTH_LDAP_BIND_USER = 'cn=ldapadm,dc=field,dc=hadoop,dc=com'
AUTH_LDAP_SEARCH = 'cn=EXAMPLE.COM,cn=Kerberos,dc=field,dc=hadoop,dc=com'
AUTH_LDAP_SERVER = 'ldap://workerha.demo'
AUTH_LDAP_USE_TLS = False
AUTH_ROLE_PUBLIC = 'Public'
AUTH_TYPE = AUTH_LDAP
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = 'Public'
AUTH_LDAP_USERNAME_FORMAT = 'cn=%s,cn=EXAMPLE.COM,cn=Kerberos,dc=field,dc=hadoop,dc=com'
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org