newbie: error getting credentials: Server not found in Kerberosdatabase
Amir Saad
Amir.Saad at bibalex.org
Tue Dec 27 02:18:12 EST 2005
this error means a missing principal,
try to open the /var/log/krb5kdc.log and check which principal is missing, simply add it and it will work.
thanks
________________________________
From: kerberos-bounces at mit.edu on behalf of Timo Nentwig
Sent: Mon 12/26/2005 3:41 PM
To: kerberos at mit.edu
Subject: newbie: error getting credentials: Server not found in Kerberosdatabase
Hi!
I never found the time to deal intensively with kerberos so please
indulge me if this is ought to be a stupid question:
kinit works. krsh does not:
krsh server
error getting credentials: Server not found in Kerberos database
trying normal rlogin (/usr/bin/rlogin)
So, this is what I did so far:
server:
/etc/krb5.conf:
[libdefaults]
default_realm = LOCALDOMAIN
[realms]
LOCALDOMAIN = {
kdc = server.localdomain:88
admin_server = server.localdomain:750
}
[domain_realm]
.localdomain = LOCALDOMAIN
localdomain = LOCALDOMAIN
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
/etc/hosts:
127.0.0.1 localhost
192.168.0.2 server server.localdomain
real hostname is actually *not* "server"!
kadmin.local:
addprinc foo
client:
/etc/krb5.conf
[libdefaults]
ticket_lifetime = 600
default_realm = LOCALDOMAIN
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
[realms]
LOCALDOMAIN = {
kdc = server.localdomain:88
admin_server = server.localdomain:750
}
[domain_realm]
.localdomain = LOCALDOMAIN
localdomain = LOCALDOMAIN
[kdc]
profile = /etc/krb5kdc/kdc.conf
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
$ kinit foo
$ krsh server
error getting credentials: Server not found in Kerberos database
trying normal rlogin (/usr/bin/rlogin)
Thanks a lot
________________________________________________
Kerberos mailing list Kerberos at mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos
More information about the Kerberos
mailing list