当你遇到“password incorrect while getting initial credentials”错误时,通常意味着在使用Kerberos进行身份验证时密码输入有误或Kerberos环境配置存在问题。以下是一些解决此问题的步骤: 确认输入的密码是否正确: 确保输入的密码完全正确,包括大小写和任何特殊字符。密码错误是最常见的原因之一。 检查用户名是否对应正确的...
修改后如下图,然后执行kinit就出现了:kinit: KDC has no support for encryption type while getting initial credentials。 问题解决 确认kdc服务器kdc.conf 查看kdc服务器/var/kerberos/krb5kdc/kdc.conf文件中supported_enctypes是否包含了改产品所需要的类型(本案例需要的为aes128-cts)。配置文件示例: [kdc...
ExecutionFailed: Execution of '/usr/bin/kinit -c /var/lib/ambari-agent/tmp/kerberos_service_check_cc_edcf690f91dc1060b8774e64faa5eefa -kt /etc/security/keytabs/kerberos.service_check.060321.keytab dp66-060321@OCDP.COM' returned 1. kinit: Permission denied while getting initial credentials ...
描述:RHEL 6.x主机执行kinit -kt命令报如下错误 [heboan@localhost~]$ kinit -kt heboan.keytab heboankinit: Bad encryption typewhile getting initial credentials 原因 KDC服务器正在RHEL7.x主机上运行,RHEL6.x该主机对keytab文件中的加密类型有不同的识别。 如<---行所示,两种加密类型在RHEL6.x和...
Kerberos: Preauthentication failed while getting initial credentials Labels: Apache Ambari Apache Hadoop Apache Zookeeper Hortonworks Data Platform (HDP) Kerberos Security chiru_tnk Contributor Created on 06-17-2018 02:20 PM - edited 09-16-2022 06:21 AM Dear experts, We ...
Sometimes for messages like this: Kerberos authentication failed: kinit: Cannot read password while getting initial credentials There is a simple solution. Reset the user's password, because it probably expired or the user account used was just created w
kinit: Cannot find KDC for realm "HADOOP.COM" while getting initial credentials 原因: kerberos客户端配置文件没有配好,主要有如下两点: 1、配置的格式如下: 1)取消[logging]项; 2)不能存在linux路径格式的配置。 [libdefaults]default_realm=HAP.COMdns_lookup_realm=falsedns_lookup_kdc=falseticket_life...
原因以及解决办法:这是由于/etc/krb5.conf 配置错了或者配置了无效项。检查这个文件。 2、服务端在获取或者显示票据的时候,出现如下错误 klist: Credentials cache keyring 'persistent:0:0' not found 或者 kinit: Cannot contact any KDC for realm 'HADOOP.COM' while getting initial credentials ...
$ kinit username@WEBSITE.COM -k -t username.keytab kinit: No key table entry found for username@WEBSITE.COM while getting initial credentials Upon attempting a kinit, I receive the following error: Raw # kinit -k /etc/krb5.keytab 'PRINCIPAL$@DOMAIN.COM' ...
从根源解决RHEL 6.x主机执行kinit -kt命令报错'kinit: Bad encryption type while getting initial credentials' shaopi0211关注IP属地: 广东 2018.01.03 20:48:34字数174阅读7,525 原因: 目前已知是6.x和7.x主机上加密方式异常导致camellia128-cts-cmac,camellia256-cts-cmac这种加密方式不能再6.x主机上正确...