小编use*_*174的帖子

kinit:在获取初始凭据时无法联系领域“UBUNTU”的任何 KDC

我正在使用这些说明在 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 文件:

/etc/krb5.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

5
推荐指数
1
解决办法
9万
查看次数

标签 统计

kerberos ×1