我正在使用这些说明在 ubuntu 机器上安装 Kerberos5-1.12.1 。
每当我尝试做:
kinit user1
Run Code Online (Sandbox Code Playgroud)
我正面临一个错误:
kinit: Cannot contact any KDC for realm 'UBUNTU' while getting initial credentials
Run Code Online (Sandbox Code Playgroud)
下面是我的 krb5.conf 和 kdc.conf 文件:
[libdefaults]
default_realm = UBUNTU
# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# The following encryption type specification will be used by MIT Kerberos
# if uncommented. In general, the defaults …Run Code Online (Sandbox Code Playgroud) kerberos ×1