newbie: error getting credentials: Server not found in Kerberos database
Timo Nentwig
timo.nentwig at gmail.com
Mon Dec 26 08:41:33 EST 2005
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
More information about the Kerberos
mailing list