title: kerberos authentication with ODP.NET unmanaged driver C#.NET
body: <p>Hi I want to use kerberos authentication with ODP.NET unmanaged driver.
  I can connect using &quot;SQLPLUS /@UAT_APP&quot;</p>
  <p>I have developed a simple C# console application targeting to .NET framework 4.6.1
  below is the code:</p>
  <pre><code> DbProviderFactory factory = DbProviderFactories.GetFactory(&quot;oracle.dataaccess.client&quot;);
   var con = factory.CreateConnection();
   con.ConnectionString = &quot;Data Source=UAT_APP;&quot;;
   con.Open();
  </code></pre>
  <p>App.config</p>
  <pre><code>oracle.dataaccess.client&gt;
      &lt;settings&gt;
          &lt;add name=&quot;FetchSize&quot; value=&quot;131072&quot;/&gt;
          &lt;add name=&quot;StatementCacheSize&quot; value=&quot;10&quot;/&gt;
          &lt;add name=&quot;TraceFileName&quot; value=&quot;C:\Temp\odp.trc&quot;/&gt;
          &lt;add name=&quot;TraceLevel&quot; value=&quot;127&quot;/&gt;
          &lt;add name=&quot;TraceOption&quot; value=&quot;0&quot;/&gt;
          &lt;add name=&quot;SQLNET.AUTHENTICATION_SERVICES&quot; value=&quot;Kerberos5&quot;/&gt;
          &lt;add name=&quot;SQLNET.KERBEROS5_CONF&quot; value=&quot;C:\Apps\oracle\network\admin\krb5.conf&quot;/&gt;
          &lt;add name=&quot;TNS_ADMIN&quot; value=&quot;C:\Apps\oracle\network&quot;/&gt;
      &lt;/settings&gt;
  &lt;/oracle.dataaccess.client&gt;
  </code></pre>
  <p>I get error:</p>
  <pre><code>Oracle.DataAccess.Client.OracleException: 'ORA-1017: invalid username/password; logon denied'
  </code></pre>
  <p>I have installed Oracle client 12c x64</p>
  <p>Please let me know how to use Kerberos Authentication using ODP.NET unmanaged data access driver.</p>