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

原文:http://blog.sina.com.cn/s/blog_6ccfa4f30100v06s.html

我碰到了:第一、二

No.1
# kinit [email protected]
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 [email protected]
kinit: Client not found in Kerberos database while getting initial credentials
This is Kerberos way of saying "User not found",solution as follows:
# kinit [email protected]
Password for [email protected]:<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 [email protected]
kinit: Cannot resolve network address for KDC in realm "test.com" 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.com successfully.
/etc/resolv.conf is DNS configure file
-------------------------------------------------------------------
No.4
[root@chenjintao etc]# kinit [email protected]
Password for [email protected]:
kinit: KDC reply did not match expectations while getting initial credentials
[root@chenjintao etc]# kinit [email protected]
Password for [email protected]

你可能感兴趣的:(kerberos)