Skip to main content

You are here

Kerberos

Kerberos - Kadmin issue NTP

I stumbled onto yet another Kerberos problem.
Error:

[[email protected] log]# kadmin -p kerberosadmin/[email protected]
Authenticating as principal kerberosadmin/[email protected] with password.
Password for kerberosadmin/[email protected]:
kadmin: GSS-API (or Kerberos) error while initializing kadmin interface

Fix:
Make sure the time is correct on your Kerberos client/server, ideally NTP should be enabled on the hosts to avoid things like these from happening.

Awesome Applications: 

Kerberos - kadmin connection issue

I was getting a communication error when trying to connect from a Kerberos client to the KDC, while yet I was able to successfully be granted a ticket using kinit .

[[email protected] etc]# kadmin -p kerberosadmin/[email protected]
Authenticating as principal kerberosadmin/[email protected] with password.
Password for kerberosadmin/[email protected]:
kadmin: Communication failure with server while initializing kadmin interface

Fix:
It turns out that iptables was blocking access to kadmind on the Master KDC, of which I simply had to allow the TCP port 749 to fix the issue.

-A INPUT -p tcp -m tcp --dport 749 -j ACCEPT

Linux: 

Awesome Applications: 

Premium Drupal Themes by Adaptivethemes