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

Written by James McDonald

January 16, 2014

kinit [email protected]
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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…