相关文章推荐
不爱学习的小虾米  ·  4年前PHP ...·  1 年前    · 
坚韧的哑铃  ·  python ...·  1 年前    · 
难过的领结  ·  Excel ...·  1 年前    · 
豪气的青蛙  ·  java的servlet ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I have one node kerberos setup. I am able to query kdc using kadmin.local but when I try querying using kadmin( kadmin -p admin/admin@xxx.xxx.xxx) it fails with error:

kadmin: Communication failure with server while initializing kadmin interface

Kerberos services are running fine.

tcp        0      0 0.0.0.0:88              0.0.0.0:*               LISTEN      
tcp6       0      0 :::88                   :::*                    LISTEN      - 
udp        0      0 0.0.0.0:88              0.0.0.0:*                           - 
udp6       0      0 :::88                   :::*                                - 
udp        0      0 0.0.0.0:750             0.0.0.0:*                           -
udp6       0      0 :::750                  :::*                                -

I have started the kerberos services using command: /etc/init.d/krb5-admin-server start

krb5.conf

[realms]
    xxx.xxx.xxx = {
            kdc = devkdc.xxx.xxx
            admin_server = devkdc.xxx.xxx

Kerberos admin works on port 749 by default. Make sure that is opened and can be accessed from the client hosts.

Also see here for other possible solutions: https://serverfault.com/questions/803662/kerberos-error-while-initializing-kadmin-interface-from-admin-server/803994

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.