首页 > 解决方案 > mac + tableau + kerbores + hive + cloudera gssMinor 代码可能会提供更多信息(未找到支持加密类型的凭据

问题描述

即使在使用适当的信息配置了 kerb5.conf 之后,我也无法使用使用 kerberos 身份验证的 cloudera hive 驱动程序连接到画面。

问题在于 /etc/krb5.conf 文件中使用的加密属性。在使它起作用之前,我已经删除了以下几行。

default_tgs_enctypes = rc4-hmac default_tkt_enctypes = rc4-hmac permitted_enctypes = rc4-hmac

标签: macoshivetableau-apicloudera

解决方案


问题在于 /etc/krb5.conf 文件中使用的加密属性。在使它起作用之前,我已经删除了以下几行。

default_tgs_enctypes = rc4-hmac
default_tkt_enctypes = rc4-hmac
permitted_enctypes = rc4-hmac

以下是 /etc/krb5.conf 文件的完整 (sudo) 内容。

[libdefaults]
default_realm = NA.CORP.xxx.com
dns_lookup_kdc = true
dns_lookup_realm = false
ticket_lifetime = 86400
renew_lifetime = 604800
forwardable = true

udp_preference_limit = 1
kdc_timeout = 3000
[realms]
NA.xxx.COM = {
kdc = xxx.com
admin_server = xxx1.com
}
default_cc_type = FILE
default_ccache_name = FILE:/tmp/krb5cc_501
[domain_realm]

推荐阅读