nat
nat

Reputation: 566

Kerberos kadmin service error

I need to setup kerberos security , but while running kadmin service i am getting following error.

service kadmin start
Starting Kerberos 5 Admin Server: kadmind: Cannot set GSS-API authentication names.[FAILED]

Upvotes: 2

Views: 2391

Answers (4)

pyOwner
pyOwner

Reputation: 650

Check /etc/krb5.conf. Leave only default_realm in libdefaults and try again:

[libdefaults]
default_realm = EXAMPLE.COM

Upvotes: 0

Xinran Yu
Xinran Yu

Reputation: 1

Type kinit and then type the password for the current user to initiate the authentication.

Upvotes: 0

mihai maier
mihai maier

Reputation: 73

Did you give it the exact filename and put it here the principals of the keytab?

ktadd -k /var/kerberos/krb5kdc/kadm5.keytab kadmin/admin kadmin/changepw

Upvotes: 4

ptriboll
ptriboll

Reputation: 1

Facing same problem. It seems direct command "/usr/sbin/kadmind -P /var/run/kadmind.pid" runs well

Upvotes: -1

Related Questions