kinit(v5): Cannot contact any KDC for requested ...
Chittaranjan Mandal
Chittaranjan.Mandal at iitkgp.ac.in
Sun Aug 12 06:57:22 EDT 2007
Hi,
I am trying to setup kerberos, but I am getting the above problem.
My krb5.conf file is attached. Could you please help.
I had run the following commands.
# kdb5_util create -r chitta.cse.krb -s
# kadmin.local -q "addprinc admin/admin"
# kadmin.local -q "addprinc kuser"
# kadmin.local -q "getprincs"
K/M at chitta.cse.krb
admin/admin at chitta.cse.krb
kadmin/admin at chitta.cse.krb
kadmin/changepw at chitta.cse.krb
kadmin/history at chitta.cse.krb
kadmin/localhost at chitta.cse.krb
krbtgt/chitta.cse.krb at chitta.cse.krb
kuser at chitta.cse.krb
--
Chitta Mandal <chitta at iitkgp.ac.in>
IIT Kharagpur
-------------- next part --------------
[logging]
default = FILE:/var/log/kerberos/krb5libs.log
kdc = FILE:/var/log/kerberos/krb5kdc.log
admin_server = FILE:/var/log/kerberos/kadmind.log
default = SYSLOG:INFO:USER
[libdefaults]
ticket_lifetime = 24000
default_realm = chitta.cse.krb
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
permitted_enctypes = des3-hmac-sha1 des-cbc-crc
dns_lookup_realm = false
dns_lookup_kdc = true
kdc_req_checksum_type = 2
checksum_type = 2
ccache_type = 1
forwardable = true
proxiable = true
[realms]
chitta.cse.krb = {
kdc = chitta.cse.iitkgp.ernet.in:88
admin_server = chitta.iitkgp.ernet.in:749
default_domain = cse.iitkgp.ernet.in
}
[domain_realm]
.cse.iitkgp.ernet.in = chitta.cse.krb
chitta.cse.iitkgp.ernet.in = chitta.cse.krb
[kdc]
profile = /etc/kerberos/krb5kdc/kdc.conf
[pam]
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
[login]
krb4_convert = false
krb4_get_tickets = false
More information about the Kerberos
mailing list