macos - 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
解决方案
问题在于 /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]
推荐阅读
- c++ - 默认初始化的 std::atomic
vs 无锁栈 - python - Python new columns from multi groupby
- c++ - 如何使用 C++ 在 Winsock 中将大字符串从客户端发送到服务器
- jenkins - 如何保持 terraform 的 remote-exec shell 持久化?
- c# - WPF - 将 XAML 内容导出到文件(PDF 或 Word)
- excel - 在 VBA 中具有声明值的 Excel IF 函数
- android - 如何使注册电池广播在清单中而不是在活动中工作
- stored-procedures - 无法使用存储过程查询 Azure Cosmosdb
- git - Git-gui 查看差异时显示行号
- excel - 防止列表框中重复的问题