This discussion is archived
1 Reply Latest reply: Aug 7, 2012 4:28 PM by 929328 RSS

kadmin: Missing parameters in krb5.conf required for kadmin client while in

888695 Newbie
Currently Being Moderated
Hi all

When i am going to run commands like

kadmin addprinc -randkey

kadmin ktadd -k

i am receiving kadmin: Missing parameters in krb5.conf required for kadmin client while ininitializing kadmin interface

any ideas??

What kind of parameters are missing???

thanks a lot
  • 1. Re: kadmin: Missing parameters in krb5.conf required for kadmin client while in
    929328 Newbie
    Currently Being Moderated
    Hi,

    It is a common problem. I used Oracle Linux to sort it out.

    Perhaps you're using the wrong command? AFAIK kadmin should be used when working remotely. You don't say where you are in relation to the server? If sitting at the server you should be using kadmin.local. For example if I issue:

    sudo kadmin.local

    I get:

    Authenticating as principal root/admin@LKDC:SHA1.EB237F611F07B2E8A636804052E8F7252BBA978F with password

    If I issue:

    sudo kadmin

    I get:

    Authenticating as principal root/admin@LKDC:SHA1.EB237F611F07B2E8A636804052E8F7252BBA978F with password

    If I issue:

    sudo kadmin

    I get:

    Authenticating as principal root/admin@ANOTHERSERVER.DOMAIN.TLD with password.
    kadmin: Missing parameters in krb5.conf required for kadmin client while initializing kadmin interface

    A vital difference. Issuing:

    sudo kadmin.local -q list_prinicpals

    show show successfully kerberized users, services & hosts. Changing it to kadmin -q list_principals shows nothing except the error message. The above examples are for a client machine.
    If you have any questions, ask.
    Kirill Babeyev

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points