问题描述
我们需要将Presto与我们的Superset集成在一起。我们从Presto Side启用了LDAP。
因此,我们使用管理员用户和selected Impersonate the logged on user
在数据库设置页面上配置了数据库。
当前只有Admin能够查看架构和表,其他用户无法查看数据源,我们在Superset上遇到此错误:
sqlalchemy.exc.OperationalError: (pyhive.exc.OperationalError) Unexpected status code 401
b'Access Denied: Invalid credentials'
[SQL: SHOW SCHEMAS]
(Background on this error at: http://sqlalche.me/e/e3q8)
And From the Presto side we are getting this error:
Password validation failed for user DN [superset@homeoffice.domain.com]: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090453,comment: AcceptSecurityContext error,data 52e,v3839]
我们观察到只有创建数据源的用户才能查询,而其他用户则不能查询?
那么Superset会提交数据源中提供的用于连接的相同密码,还是我们遗漏了什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)