使用CDH Manager 安装Kerberos服务——之初始化失败

原文:.html

我碰到了:第一、二

No.1
# kinit admin@test
kinit: Cannot find KDC for requested realm whilegetting initial credentials
Adding "dns_lookup_kdc = true" to the [libdefaults] section of krb5.conf seems to fix the problem.
----------------------------------------------------------------
No.2
# kinit admin@test
kinit: Client not found in Kerberos database while getting initial credentials
This is Kerberos way of saying "User not found",solution as follows:
# kinit administrator@test
Password for administrator@test:<input domain controller's password>
kinit: Clock skew too great while getting initial credentials
ntpdate -b 172.16.153.130
26 Oct 17:05:06 ntpdate[29684]: step time server 172.16.153.130 offset 14586.370253 sec
--------------------------------------------------------------------
No.3
# kinit administrator@test
kinit: Cannot resolve network address for KDC in realm "test" while getting initial credentials
# vim /etc/resolv.conf
nameserver 172.16.153.2  # (DNS Servers' IP)
warning: if the ip is writen wrong, you cannot ping test successfully.
/etc/resolv.conf is DNS configure file
-------------------------------------------------------------------
No.4
[root@chenjintao etc]# kinit administrator@test
Password for administrator@test:
kinit: KDC reply did not match expectations while getting initial credentials
[root@chenjintao etc]# kinit administrator@TEST.COM
Password for administrator@TEST.COM: 

转载于:

使用CDH Manager 安装Kerberos服务——之初始化失败

原文:.html

我碰到了:第一、二

No.1
# kinit admin@test
kinit: Cannot find KDC for requested realm whilegetting initial credentials
Adding "dns_lookup_kdc = true" to the [libdefaults] section of krb5.conf seems to fix the problem.
----------------------------------------------------------------
No.2
# kinit admin@test
kinit: Client not found in Kerberos database while getting initial credentials
This is Kerberos way of saying "User not found",solution as follows:
# kinit administrator@test
Password for administrator@test:<input domain controller's password>
kinit: Clock skew too great while getting initial credentials
ntpdate -b 172.16.153.130
26 Oct 17:05:06 ntpdate[29684]: step time server 172.16.153.130 offset 14586.370253 sec
--------------------------------------------------------------------
No.3
# kinit administrator@test
kinit: Cannot resolve network address for KDC in realm "test" while getting initial credentials
# vim /etc/resolv.conf
nameserver 172.16.153.2  # (DNS Servers' IP)
warning: if the ip is writen wrong, you cannot ping test successfully.
/etc/resolv.conf is DNS configure file
-------------------------------------------------------------------
No.4
[root@chenjintao etc]# kinit administrator@test
Password for administrator@test:
kinit: KDC reply did not match expectations while getting initial credentials
[root@chenjintao etc]# kinit administrator@TEST.COM
Password for administrator@TEST.COM: 

转载于: