Unsupported encryption type if run okinit for Kerberos enabled Oracle db
742950Dec 24 2009 — edited May 19 2010Hello Everyone,
I have worked on Kerberos setting for Oracle db for several days, this issue is almost killing me. Can anybody help me out? Thanks.
I successfully install MIT Kerberos on a linux machine. The Kerberos is working.
I follow up the Oracle instructoins on (http://download.oracle.com/docs/cd/B28359_01/network.111/b28530/asokerb.htm#i1006510) to enable the Kerberos authentication for Oracle database;
then, when I run okinit to get initial ticket, it prompts me "unsupported encryption type" as following:
[oracle@qa-cc-lin-88 bin]$ okinit krbuser
Kerberos Utilities for Linux: Version 10.2.0.1.0 - Production on 24-DEC-2009 13:35:51
Copyright (c) 1996, 2004 Oracle. All rights reserved.
Password for krbuser@COMPOSITE.COM:
okinit: KDC has no support for encryption type
Following is the prompt in the krb5kdc.log;
Dec 24 12:08:04 qa-cc-lin-88 krb5kdc[5474](info): AS_REQ (1 etypes {1}) 10.2.0.88: CANT_FIND_CLIENT_KEY: krbuser@COMPOSITE.COM for krbtgt/COMPOSITE.COM@COMPOSITE.COM, KDC has no support for encryption type
Dec 24 13:35:54 qa-cc-lin-88 krb5kdc[5474](info): AS_REQ (1 etypes {1}) 10.2.0.88: CANT_FIND_CLIENT_KEY: krbuser@COMPOSITE.COM for krbtgt/COMPOSITE.COM@COMPOSITE.COM, KDC has no support for encryption type
I have listed the default encryptioin in my krb5.conf file as follows:
[libdefaults]
ticket_lifetime = 600
default_realm = COMPOSITE.COM
kdc_req_checksum_type = 2
checksum_type = 2
ccache_type = 4
kdc_timesync = 1
default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
dns_lookup_realm = false
dns_lookup_kdc = false
Following is the setting in sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= (BEQ, TCPS, KERBEROS5)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = Kerberos
SQLNET.KERBEROS5_CONF=/etc/krb5.conf
SQLNET.KERBEROS5_CONF_MIT=TRUE
SQLNET.KERBEROS5_KEYTAB=/etc/v5srvtab
SQLNET.KERBEROS5_REALMS=/etc/krb.realms
Any ideas how I can solve this issue? Thanks,
Philip Yang