drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bridg...@apache.org
Subject drill-site git commit: update inbound impersonation to include odbc instruction
Date Thu, 27 Jul 2017 02:14:20 GMT
Repository: drill-site
Updated Branches:
  refs/heads/asf-site 4e2fe3f1e -> 2035e8aff


update inbound impersonation to include odbc instruction


Project: http://git-wip-us.apache.org/repos/asf/drill-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill-site/commit/2035e8af
Tree: http://git-wip-us.apache.org/repos/asf/drill-site/tree/2035e8af
Diff: http://git-wip-us.apache.org/repos/asf/drill-site/diff/2035e8af

Branch: refs/heads/asf-site
Commit: 2035e8affc8f60d5d46a715d265f1276ee2f0d49
Parents: 4e2fe3f
Author: Bridget Bevens <bbevens@maprtech.com>
Authored: Wed Jul 26 19:14:04 2017 -0700
Committer: Bridget Bevens <bbevens@maprtech.com>
Committed: Wed Jul 26 19:14:04 2017 -0700

----------------------------------------------------------------------
 docs/configuring-inbound-impersonation/index.html | 17 ++++++++++++-----
 feed.xml                                          |  4 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill-site/blob/2035e8af/docs/configuring-inbound-impersonation/index.html
----------------------------------------------------------------------
diff --git a/docs/configuring-inbound-impersonation/index.html b/docs/configuring-inbound-impersonation/index.html
index a618e69..e2ffdc3 100644
--- a/docs/configuring-inbound-impersonation/index.html
+++ b/docs/configuring-inbound-impersonation/index.html
@@ -1122,7 +1122,7 @@
 
     </div>
 
-     Mar 16, 2016
+     Jul 27, 2017
 
     <link href="/css/docpage.css" rel="stylesheet" type="text/css">
 
@@ -1172,13 +1172,20 @@
   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. For example, 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>
+<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>
 </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  
+
+     In this example, `puser1` 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 `euser1`.  
 
-<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>
+   * 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  
+
+    If you are using ODBC on Windows, you can use the **ODBC Data Source Administrator**
to provide the username through the `Delegation UID` field in the MapR Drill ODBC Driver DSN
Setup dialog box. See [Configuring ODBC on Windows](/docs/configuring-odbc-on-windows/) for
more information.
+</code></pre></div>
     
       
         <div class="doc-nav">

http://git-wip-us.apache.org/repos/asf/drill-site/blob/2035e8af/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 1b5485a..df7381a 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>Mon, 24 Jul 2017 18:12:37 -0700</pubDate>
-    <lastBuildDate>Mon, 24 Jul 2017 18:12:37 -0700</lastBuildDate>
+    <pubDate>Wed, 26 Jul 2017 19:12:29 -0700</pubDate>
+    <lastBuildDate>Wed, 26 Jul 2017 19:12:29 -0700</lastBuildDate>
     <generator>Jekyll v2.5.2</generator>
     
       <item>


Mime
View raw message