{"id":8204,"date":"2015-07-22T03:04:58","date_gmt":"2015-07-22T07:04:58","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=8204"},"modified":"2015-07-22T03:04:58","modified_gmt":"2015-07-22T07:04:58","slug":"mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/","title":{"rendered":"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources"},"content":{"rendered":"<p>Hi All,<\/p>\n<p>After long gap I\u2019m start writing blogs and I\u2019m feeling for that.<\/p>\n<p>Today I have faced login issue in WNA setup environment.<\/p>\n<p>Requirement is user would need to login via WNA fallback authentication and access to the OAM WNA protected resources but it login request landed into error page &#8220;Account locked or disabled&#8221;.<\/p>\n<p>From oam-server1.out logs<\/p>\n<p><strong>Note<\/strong>: If you are not able to see below then you should enable Kerberos trace level.<\/p>\n<h5>\u00a0<span style=\"color: #ff0000\">&lt;Jul 21, 2015 6:27:52 PM AEST&gt; &lt;Error&gt; &lt;oracle.oam.plugin&gt; &lt;BEA-000000&gt; &lt;Defective token detected (Mechanism level: GSSHeader<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">did not find the right tag)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at sun.security.jgss.GSSHeader.&lt;init&gt;(GSSHeader.java:80)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:287)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:267)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at oracle.security.am.plugin.authn.SPNEGOLoginModule$1.run(SPNEGOLoginModule.java:139)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at javax.security.auth.Subject.doAs(Subject.java:394)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at oracle.security.am.plugin.authn.SPNEGOLoginModule.login(SPNEGOLoginModule.java:124)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<\/span><\/h5>\n<h5><span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<\/span><\/h5>\n<h5>Normally this issue appears to be that something different from a Kerberos or NTLM token is being sent by the Microsoft IE browser client machine.<\/h5>\n<p>OAM only accepts Kerberos or NTLM tokens for now.<\/p>\n<p>We noticed browser was sending the following token when accessing in company network domain.<\/p>\n<p>And it keeps sending this similar like &#8220;Authorization: Negotiate&#8221; string over and over.<\/p>\n<p>Authorization: Negotiate<\/p>\n<p>YIGeBgYrBgEFBQKggZMwgZCgGjAYBgorBgEEAYI3AgIeBgorBgEEAYI3AgIKonIEcE5FR09FWFRTAA<\/p>\n<p>AAAAAAAABgAAAAcAAAAByYkcFlDJDJ1CLBKiPp1EHAWr1ZstiFepuJLBr7EduFitBaRa45+4nQ\/AGW<\/p>\n<p>5Jf\/GwAAAAAAAAAAYAAAAAEAAAAAAAAAAAAAAEVyfDIyRYtIv9kqa6BepAo=<\/p>\n<p>This is not a standard NTLM value, as normally when we review the headers we would expect to see either:<\/p>\n<p>Authorization: Negotiate TlRMTVNTUAABAAA&#8230;. (NTLM)<\/p>\n<p>Authorization: Negotiate YIIGeAYGK&#8230;(Kerberos)<\/p>\n<p>then this will still not work for OAM WAN Fallback, since the token received by OAM Server is NOT an NTLM token like, but appears to be more related to a NEGOEXTS token, which the Windows 7 clients sometimes send.<\/p>\n<p>So, the token was not sent correctly by the browser to OAM server.<\/p>\n<p><strong>Cause<\/strong>:<\/p>\n<p>On the UNIX host, use kinit on your user account and use klist to verify that you have a ticket to the HTTP\/DOMAIN.NAME@REALM.NAME principal or not.<\/p>\n<p>In our cause we have encountered below exception<\/p>\n<h5><span style=\"color: #ff0000\">kinit(v5): Client not found in Kerberos database while getting initial credentials<\/span><\/h5>\n<p>We have found a DNS issue for application OAM hostname. OAM VIP host name was resolving to different hostname and Keytab was created based on VIP hostname <strong>not<\/strong> actual hostname different and frontend host which is critical specially for creating a keytab<\/p>\n<p><strong>Solution<\/strong>:<\/p>\n<p>Re-generated the keytab for DNS resolve hostname as follow<\/p>\n<p>ktpass -princ HTTP\/DOMAIN.NAME@REALM.NAME<\/p>\n<p>-mapuser aurdev\\srv-oam-iap1 -pass &lt;Password&gt; -out master.keytab -kvno 0<\/p>\n<p>&nbsp;<\/p>\n<p>Copy the new keytab into &lt;Oracle Home&gt;\/server\/config\/ and restart OAM server.<\/p>\n<p>Hope above information helped you to get out of the issues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi All, After long gap I\u2019m start writing blogs and I\u2019m feeling for that. Today I have faced login issue [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42],"tags":[],"class_list":["post-8204","post","type-post","status-publish","format-standard","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -\" \/>\n<meta property=\"og:description\" content=\"Hi All, After long gap I\u2019m start writing blogs and I\u2019m feeling for that. Today I have faced login issue [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-22T07:04:58+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/\",\"name\":\"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2015-07-22T07:04:58+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/","og_locale":"en_US","og_type":"article","og_title":"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -","og_description":"Hi All, After long gap I\u2019m start writing blogs and I\u2019m feeling for that. Today I have faced login issue [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/","article_published_time":"2015-07-22T07:04:58+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/","url":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/","name":"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2015-07-22T07:04:58+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2015\/07\/22\/mechanism-level-gssheader-did-not-find-the-right-tagerror-when-accessing-oam-wna-resources\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Mechanism level: GSSHeader did not find the right tag,Error when accessing OAM WNA resources"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/8204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=8204"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/8204\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=8204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=8204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=8204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}