title: Error configuring Kerberos on CentOS 6
body: <p>After configuring Kerberos on private server which runs on CentOS 6, I get this error when I run the <code>kinit</code> I get the following response:</p>
  
  <blockquote>
    <p>kinit: Realm not local to KDC while getting initial credentials</p>
  </blockquote>
  
  <p>This is the copy of my config file:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>[logging]
   default = FILE:/var/log/krb5libs.log
   kdc = FILE:/var/log/krb5kdc.log
   admin_server = FILE:/var/log/kadmind.log
  
  [libdefaults]
   dns_lookup_realm = true
   dns_lookup_kdc = true
   ticket_lifetime = 24h
   renew_lifetime = 7d
   forwardable = true
  # rdns = false
   default_realm = CENTSERVER01
  # default_ccache_name = KEYSTRING:persistent:%{uid}
  
  [realms]
   CENTSERVER01 = {
    kdc = centserver01:88
    admin_server = centserver01:88
   }
  
  [domain_realm]
   .centserver01 = CENTSERVER01
   centserver01 = CENTSERVER01</code></pre>
  </div>
  </div>
  </p>