LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-08-2010, 10:21 PM   #1
BloodBlight
LQ Newbie
 
Registered: Jul 2008
Posts: 25

Rep: Reputation: 0
Can't get KDC running.


Hey everyone, I am trying to learn/setup a KRB5 domain in my home. But I am stuck on this one...

When I try to run kinit, this is what I get:
Code:
root@MediaServer:~$ kinit K/M@HQ
kinit: Clients credentials have been revoked while getting initial credentials
root@MediaServer:~$ kinit HQ
kinit: Client not found in Kerberos database while getting initial credentials
Here are my config files:
/etc/krb5.conf
Code:
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = HQ
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 forwardable = yes

[realms]
 HQ = {
  kdc = HQ.local:88
  admin_server = HQ.local:749
  default_domain = HQ.local
 }

[domain_realm]
 .local = HQ
local = HQ

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
}
/etc/krb5kdc/kdc.conf
Code:
[kdcdefaults]
    kdc_ports = 750,88

[realms]
    HQ = {
        database_name = /etc/krb5kdc/principal
        admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
        acl_file = /etc/krb5kdc/kadm5.acl
        key_stash_file = /etc/krb5kdc/stash
        kdc_ports = 750,88
        max_life = 10h 0m 0s
        max_renewable_life = 7d 0h 0m 0s
        master_key_type = des3-hmac-sha1
        supported_enctypes = aes256-cts:normal arcfour-hmac:normal des3-hmac-sha1:normal des-cbc-crc:normal des:normal des:v4 des:norealm des:onlyrealm des:afs3
        default_principal_flags = +preauth
    }
/etc/hosts
Code:
192.168.20.5	MediaServer	# Added by NetworkManager
127.0.0.1	localhost.localdomain	localhost
::1	MediaServer	localhost6.localdomain6	localhost6
192.168.20.5	HQ HQ.HQ HQ.Local

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Now, I have been goofing with this thing, and these are my most current configs. So these config files may have some uneeded junk in them...

Any help would be appreciated! And I am very interested in learning the details, so feel free to educate me.

I have looked around a LOT and tried a lot of things, but nothing has worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Active Directory as KDC for NFSv4 LMW Linux - Server 1 10-23-2010 10:04 PM
telnet service and KDC resolve error postiwala Linux - Server 5 08-10-2007 03:23 AM
Cannot contact any KDC for requested realm wslyhbb Linux - Server 0 03-10-2007 06:47 PM
configuring KDC on W2k server kapsikum Linux - General 0 08-28-2005 02:13 AM
homes folder problem + KDC not found neo_aj Linux - Networking 0 11-20-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration