Repository: drill-site Updated Branches: refs/heads/asf-site e9a23c250 -> a070b563c
inbound I Project: http://git-wip-us.apache.org/repos/asf/drill-site/repo Commit: http://git-wip-us.apache.org/repos/asf/drill-site/commit/a070b563 Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/a070b563 Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/a070b563 Branch: refs/heads/asf-site Commit: a070b563c4a8f832211898283a2cd2ecf1d7309f Parents: e9a23c2 Author: Bridget Bevens <bbev...@maprtech.com> Authored: Wed Jul 26 19:46:31 2017 -0700 Committer: Bridget Bevens <bbev...@maprtech.com> Committed: Wed Jul 26 19:46:31 2017 -0700 ---------------------------------------------------------------------- .../index.html | 22 +++++++++++++------- feed.xml | 4 ++-- 2 files changed, 17 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill-site/blob/a070b563/docs/configuring-inbound-impersonation/index.html ---------------------------------------------------------------------- diff --git a/docs/configuring-inbound-impersonation/index.html b/docs/configuring-inbound-impersonation/index.html index bc15245..adbae93 100644 --- a/docs/configuring-inbound-impersonation/index.html +++ b/docs/configuring-inbound-impersonation/index.html @@ -1172,17 +1172,25 @@ target_principals: { users : [â...â, â...â], groups : [â...â, â...â] } } </code></pre></div></li> </ul></li> -<li><p>Ensure that the proxy user (application) passes the username of the impersonation target user to Drill when creating a connection through the <code>impersonation_target</code> connection property. The following examples show you how to do this for JDBC and ODBC: </p></li> +<li><p>Ensure that the proxy user (application) passes the username of the impersonation target user to Drill when creating a connection through the <code>impersonation_target</code> connection property. </p></li> </ol> -<div class="highlight"><pre><code class="language-text" data-lang="text"> * For JDBC, through SQLLine: - bin/sqlline âu âjdbc:drill:schema=dfs;zk=myclusterzk;impersonation_target=euser1â -n puser1 -p ppass1 -</code></pre></div> +<p>The following examples show you how to do this for JDBC and ODBC: </p> + +<ul> +<li><p>For JDBC, through SQLLine:</p> +<div class="highlight"><pre><code class="language-text" data-lang="text"> bin/sqlline âu âjdbc:drill:schema=dfs;zk=myclusterzk;impersonation_target=euser1â -n puser1 -p ppass1 +</code></pre></div></li> +</ul> + <p>In this example, <code>puser1</code> is the user submitting the queries. This user is authenticated. Since this user is authorized to impersonate any user, queries through the established connection are run as <code>euser1</code>.</p> -<div class="highlight"><pre><code class="language-text" data-lang="text"> * For ODBC on Linux or Mac, you can pass the username through the `DelegationUID` property in the odbc.ini file. See [Configuring ODBC on Linux](/docs/configuring-odbc-on-linux/) for more information. - DelegationUID=euser1 -</code></pre></div> +<ul> +<li><p>For ODBC on Linux or Mac, you can pass the username through the <code>DelegationUID</code> property in the odbc.ini file. See <a href="/docs/configuring-odbc-on-linux/">Configuring ODBC on Linux</a> for more information. </p> +<div class="highlight"><pre><code class="language-text" data-lang="text"> DelegationUID=euser1 +</code></pre></div></li> +</ul> + <p>If you are using ODBC on Windows, you can use the <strong>ODBC Data Source Administrator</strong> to provide the username through the <code>Delegation UID</code> field in the MapR Drill ODBC Driver DSN Setup dialog box. See <a href="/docs/configuring-odbc-on-windows/">Configuring ODBC on Windows</a> for more information.</p> http://git-wip-us.apache.org/repos/asf/drill-site/blob/a070b563/feed.xml ---------------------------------------------------------------------- diff --git a/feed.xml b/feed.xml index 9ec8db8..26b69c6 100644 --- a/feed.xml +++ b/feed.xml @@ -6,8 +6,8 @@ </description> <link>/</link> <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Wed, 26 Jul 2017 19:21:55 -0700</pubDate> - <lastBuildDate>Wed, 26 Jul 2017 19:21:55 -0700</lastBuildDate> + <pubDate>Wed, 26 Jul 2017 19:45:15 -0700</pubDate> + <lastBuildDate>Wed, 26 Jul 2017 19:45:15 -0700</lastBuildDate> <generator>Jekyll v2.5.2</generator> <item>