{"id":2125,"date":"2016-07-06T00:16:58","date_gmt":"2016-07-05T22:16:58","guid":{"rendered":"http:\/\/www.oradba.ch\/?p=2125"},"modified":"2017-01-23T15:32:34","modified_gmt":"2017-01-23T14:32:34","slug":"using-kerberos-in-oracle-standard-edition","status":"publish","type":"post","link":"https:\/\/www.oradba.ch\/wordpress\/2016\/07\/using-kerberos-in-oracle-standard-edition\/","title":{"rendered":"Using Kerberos in Oracle Standard Edition"},"content":{"rendered":"<p>Since the release of Oracle 12cR1 mid 2013 the network encryption and strong authentication services has been removed from the Oracle Advanced Security Option. Both feature are now available for any licensed editions. Corresponding section in the Oracle Licensing Guide for <a href=\"http:\/\/docs.oracle.com\/cd\/E11882_01\/license.112\/e47877\/options.htm#DBLIC143\">11g R2<\/a> and <a href=\"http:\/\/docs.oracle.com\/database\/121\/DBLIC\/options.htm#DBLIC143\">12c R1<\/a> has been updated.  <\/p>\n<blockquote><p>Network encryption (native network encryption and SSL\/TLS) and strong authentication services (Kerberos, PKI, and RADIUS) are no longer part of Oracle Advanced Security and are available in all licensed editions of all supported releases of the Oracle database.<\/p><\/blockquote>\n<p>Oracle Network Encryption does work quite well for Standard or Enterprise Edition even with the Instant Client. But there is no Kerberos support available Oracle 11.2.0.4 Standard Edition or any other 11g SE release. This can be verified on the command line with the command adapters:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\noracle@urania:\/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/ [TDB11B] adapters\r\n\r\nInstalled Oracle Net transport protocols are:\r\n\r\n    IPC\r\n    BEQ\r\n    TCP\/IP\r\n    SSL\r\n    RAW\r\n    SDP\/IB\r\n\r\nInstalled Oracle Net naming methods are:\r\n\r\n    Local Naming (tnsnames.ora)\r\n    Oracle Directory Naming\r\n    Oracle Host Naming\r\n    Oracle Names Server Naming\r\n\r\nInstalled Oracle Advanced Security options are:\r\n\r\n    RC4 40-bit encryption\r\n    RC4 56-bit encryption\r\n    RC4 128-bit encryption\r\n    RC4 256-bit encryption\r\n    DES40 40-bit encryption\r\n    DES 56-bit encryption\r\n    3DES 112-bit encryption\r\n    3DES 168-bit encryption\r\n    AES 128-bit encryption\r\n    AES 192-bit encryption\r\n    AES 256-bit encryption\r\n    MD5 crypto-checksumming\r\n    SHA-1 crypto-checksumming\r\n<\/pre>\n<p>There is a MOS Note <a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2145731.1\" target=\"_blank\">2145731.1<\/a> which describes how to enable the Radius adapter. The same method can be used to enable Kerberos as well, event if an other MOS Note <a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2028070.1\" target=\"_blank\">2028070.1<\/a> specifies that Kerberos is not available in Standard Edition.<\/p>\n<p>Radius and Kerberos adapters is part of the object file nautab.o. In <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">$ORACLE_HOME\/lib<\/code> are two object files. <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">nautab.o<\/code> and the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">nautab_ee.o.dbl<\/code>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\noracle@urania:~\/ [TDB11B] ls -al $ORACLE_HOME\/lib\/naut*\r\n-rw-r--r--. 1 oracle users 4864 Jul 15  2013 \/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/nautab_ee.o.dbl\r\n-rw-r--r--. 1 oracle users 4520 Jul  1 18:01 \/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/nautab.o\r\n<\/pre>\n<p>To get Kerberos support you just have to replace the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">nautab.o<\/code> with <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">nautab_ee.o.dbl<\/code>&#8230;:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\noracle@urania:~\/ [TDB11B] cp $ORACLE_HOME\/lib\/nautab.o $ORACLE_HOME\/lib\/nautab_se.o.dbl\r\noracle@urania:~\/ [TDB11B] cp $ORACLE_HOME\/lib\/nautab_ee.o.dbl $ORACLE_HOME\/lib\/nautab.o\r\n\r\noracle@urania:~\/ [TDB11B] ls -al $ORACLE_HOME\/lib\/naut*\r\n-rw-r--r--. 1 oracle users 4864 Jul 15  2013 \/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/nautab_ee.o.dbl\r\n-rw-r--r--. 1 oracle users 4864 Jul  1 19:54 \/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/nautab.o\r\n-rw-r--r--. 1 oracle users 4520 Jul  1 19:54 \/u00\/app\/oracle\/product\/11.2.0.4se\/lib\/nautab_se.o.dbl\r\n<\/pre>\n<p>&#8230; and relink the binaries:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\noracle@urania:~\/ [TDB11B] relink all\r\nwriting relink log to: \/u00\/app\/oracle\/product\/11.2.0.4se\/install\/relink.log\r\n<\/pre>\n<p>As you can see the command adapters now shows Radius and Kerberos adapters:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\noracle@urania:~\/ [TDB11B] adapters\r\n\r\nInstalled Oracle Net transport protocols are:\r\n\r\n    IPC\r\n    BEQ\r\n    TCP\/IP\r\n    SSL\r\n    RAW\r\n    SDP\/IB\r\n\r\nInstalled Oracle Net naming methods are:\r\n\r\n    Local Naming (tnsnames.ora)\r\n    Oracle Directory Naming\r\n    Oracle Host Naming\r\n    Oracle Names Server Naming\r\n\r\nInstalled Oracle Advanced Security options are:\r\n\r\n    RC4 40-bit encryption\r\n    RC4 56-bit encryption\r\n    RC4 128-bit encryption\r\n    RC4 256-bit encryption\r\n    DES40 40-bit encryption\r\n    DES 56-bit encryption\r\n    3DES 112-bit encryption\r\n    3DES 168-bit encryption\r\n    AES 128-bit encryption\r\n    AES 192-bit encryption\r\n    AES 256-bit encryption\r\n    MD5 crypto-checksumming\r\n    SHA-1 crypto-checksumming\r\n    Kerberos v5 authentication\r\n    RADIUS authentication\r\n<\/pre>\n<p>As of now kerberos can be configured and used as usual. If for a reason <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">okinit<\/code> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">oklist<\/code> are also required, they must be copied from an existing Oracle 11g Enterprise Edition installation. By default they are not part of a Standard Edition. So let&#8217;s copy the binaries and the corresponding message files:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\n] cp 11.2.0.4\/bin\/okinit 11.2.0.4se\/bin\/okinit \r\noracle@urania:\/u00\/app\/oracle\/product\/ [TDB11B] cp 11.2.0.4\/bin\/oklist 11.2.0.4se\/bin\/oklist\r\noracle@urania:\/u00\/app\/oracle\/product\/ [TDB11B] cp 11.2.0.4\/bin\/okinit 11.2.0.4se\/bin\/okinit\r\noracle@urania:\/u00\/app\/oracle\/product\/ [TDB11B] cp 11.2.0.4\/bin\/okdstry 11.2.0.4se\/bin\/okdstry\r\noracle@urania:\/u00\/app\/oracle\/product\/ [TDB11B] cp 11.2.0.4\/network\/mesg\/naukus.msb 11.2.0.4se\/network\/mesg\/naukus.msb\r\noracle@urania:\/u00\/app\/oracle\/product\/ [TDB11B] cp 11.2.0.4\/network\/mesg\/naukus.msg 11.2.0.4se\/network\/mesg\/naukus.msg\r\n<\/pre>\n<p>Now you can use Kerberos as you want. You just have to struggle with the usual kerberos issues and bugs \ud83d\ude42 But more on them here <a href=\"https:\/\/www.oradba.ch\/wordpress\/tag\/kerberos\/\">kerberos<\/a>.<\/p>\n<h3>References<\/h3>\n<p>Some links related to this topic.<\/p>\n<ul>\n<li> Oracle\u00ae Database Licensing Information User Manual 12c Release 1 (12.1) <a href=\"http:\/\/docs.oracle.com\/database\/121\/DBLIC\/options.htm#DBLIC143\">Oracle Advanced Security<\/a><\/li>\n<li> Oracle\u00ae Database Licensing Information 11g Release 2 (11.2) <a href=\"http:\/\/docs.oracle.com\/cd\/E11882_01\/license.112\/e47877\/options.htm#DBLIC143\">Oracle Advanced Security<\/a><\/li>\n<li>How To Enable Radius Adapter In  Oracle Database 11g Standard Edition [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2145731.1\" target=\"_blank\">2145731.1<\/a><\/em>]<\/li>\n<li>Kerberos Authentication On Standard Edition [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=2028070.1\" target=\"_blank\">2028070.1<\/a><\/em>]<\/li>\n<li>Configuring ASO Kerberos Authentication with a Microsoft Windows 2008 R2 Active Directory KDC [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=1304004.1\" target=\"_blank\">1304004.1<\/a><\/em>]<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Since the release of Oracle 12cR1 mid 2013 the network encryption and strong authentication services has been removed from the Oracle Advanced Security Option. Both feature are now available for any licensed editions. Corresponding section in the Oracle Licensing Guide for 11g R2 and 12c R1 has been updated. Network encryption (native network encryption and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Using #Kerberos in #Oracle #SE #Trivadis","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,83,11],"tags":[133,18,111],"class_list":["post-2125","post","type-post","status-publish","format-standard","hentry","category-11gr2","category-12cr1","category-security","tag-kerberos","tag-trivadiscontent","tag-tvdsecexpert"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1aErb-yh","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2202,"url":"https:\/\/www.oradba.ch\/wordpress\/2016\/11\/oracle-12-release-2-documentation-available\/","url_meta":{"origin":2125,"position":0},"title":"Oracle 12 Release 2 Documentation available","author":"Stefan","date":"8. November 2016","format":false,"excerpt":"Oracle just released the documentation for Oracle 12c Release 2. It seems that most of the new security features are available as discussed in my presentation at DOAG SIG Security in D\u00fcsseldorf on the 18th of october. See docs.oracle.com for the documentation bookshelf. Yet a short summary of new security\u2026","rel":"","context":"In &quot;12cR2&quot;","block_context":{"text":"12cR2","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/12cr2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14123,"url":"https:\/\/www.oradba.ch\/wordpress\/2023\/10\/simplified-keytab-creation-using-linux-tools-joelkallmanday\/","url_meta":{"origin":2125,"position":1},"title":"Simplified Keytab creation using Linux Tools #JoelKallmanDay","author":"Stefan","date":"11. October 2023","format":false,"excerpt":"Today's \u00a0#JoelKallmanDay, my topic is about simplifying the configuration of Kerberos authentication of Oracle databases using Linux tools. I have already written a few things about Kerberos in the past. The blog posts on this topic are usually tagged with Kerberos. Today I want to show you an alternative method\u2026","rel":"","context":"In &quot;Howto&quot;","block_context":{"text":"Howto","link":"https:\/\/www.oradba.ch\/wordpress\/category\/howto\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/kerberos_overview.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":14169,"url":"https:\/\/www.oradba.ch\/wordpress\/2023\/11\/easy-setup-of-kerberos-authentication-for-oracle-databases\/","url_meta":{"origin":2125,"position":2},"title":"Easy setup of Kerberos Authentication for Oracle Databases","author":"Stefan","date":"8. November 2023","format":false,"excerpt":"I have previously published a couple of blog posts related to Kerberos authentication for databases. In this post, I want to provide a simple, step-by-step tutorial for configuring Kerberos authentication. This tutorial is based on my lab setup within Oracle Cloud Infrastructure (OCI). Within this environment, I run both a\u2026","rel":"","context":"In &quot;19c&quot;","block_context":{"text":"19c","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/19c\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/CDBkrb5.png?fit=1010%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/CDBkrb5.png?fit=1010%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/CDBkrb5.png?fit=1010%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/CDBkrb5.png?fit=1010%2C600&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":13925,"url":"https:\/\/www.oradba.ch\/wordpress\/2023\/09\/oracle-sqlnet-tls-configuration-simplified\/","url_meta":{"origin":2125,"position":3},"title":"Oracle SQLNet TLS configuration simplified","author":"Stefan","date":"12. September 2023","format":false,"excerpt":"Most security measures for Oracle databases are usually aimed at protecting and hardening the database itself. This includes secure configuration, implementation of the least privilege principle, reduction of the attack surface, encryption at REST, database audit and much more. Sometimes, however, it is forgotten that the database also communicates with\u2026","rel":"","context":"In &quot;Howto&quot;","block_context":{"text":"Howto","link":"https:\/\/www.oradba.ch\/wordpress\/category\/howto\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/ca_list.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7135,"url":"https:\/\/www.oradba.ch\/wordpress\/2020\/06\/kerberos-troubleshooting-a-few-approaches\/","url_meta":{"origin":2125,"position":4},"title":"Kerberos Troubleshooting &#8211; A few approaches","author":"Stefan","date":"9. June 2020","format":false,"excerpt":"It is way too long ago since my last blog post. These were or are busy weeks for me. Any way, I finally found some time to start writing a blog post about a special setup for kerberos authentication of Oracle databases. It is about configuring kerberos authentication for multiple\u2026","rel":"","context":"In &quot;19c&quot;","block_context":{"text":"19c","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/19c\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/wireshark_pref.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/wireshark_pref.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/wireshark_pref.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3444,"url":"https:\/\/www.oradba.ch\/wordpress\/2019\/11\/oracle-enterprise-user-security-with-multiple-ldap-ora\/","url_meta":{"origin":2125,"position":5},"title":"Oracle Enterprise User Security with multiple ldap.ora","author":"Stefan","date":"28. November 2019","format":false,"excerpt":"Recently I came across the situation where I have to configure Enterpriser User Security for a database server with multiple databases for different directories. This is quite tricky when using a shared Oracle Home and a central TNS_ADMIN directory for SQLNet configuration. A common TNS_ADMIN also implies the use of\u2026","rel":"","context":"In &quot;12R2&quot;","block_context":{"text":"12R2","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/12r2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=2125"}],"version-history":[{"count":5,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2125\/revisions"}],"predecessor-version":[{"id":2248,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2125\/revisions\/2248"}],"wp:attachment":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=2125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=2125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=2125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}