kinit: Cannot find KDC for requested realm while getting initial credentials

Written by James McDonald

January 16, 2014

kinit adminuser@DOMAIN.LOCAL
kinit: Cannot find KDC for requested realm while getting initial credentials

Changed these

[libdefaults]
default_realm = DOMAIN.LOCAL
dns_lookup_realm = true
dns_lookup_kdc = true

probably best to use authconfig-tui to modify Kerberos settings on CentOS.

5 Comments

  1. Chacha Kairu

    wow! wow! being banging my head for the past 3 days trying to figure this out. But this….. works like charm.
    Thanks a million

    Reply
    • James

      Glad I could help!

      Reply
  2. Ahmed

    Thanks alot , working fine now

    Reply
  3. Raviteja

    @James I was literally striking my head to wall, this worked like a jaguar..!!! Thanks a million!!!

    Reply
  4. Satish

    Hi ,

    I am getting
    kinit: Cannot resolve servers for KDC in realm “Earthsbigen-AD.sbigen.in” while getting initial credentials
    after setting the values

    dns_lookup_realm = true
    dns_lookup_kdc = true

    in krb5.conf file.

    Any idea.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Docker on Fedora 32

Docker on Fedora 32

Commands to run to get moby-engine running on Fedora 32 # as root or sudo'd dnf install grubby grubby...

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using...