<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Remote Server External Login Permissions in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828412#M4859255</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I am a bit surprised that the Group can be added to the external login&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That detail should &lt;EM&gt;not&lt;/EM&gt; come as a surprise because up to v12, &lt;STRONG&gt;a group is a user itself&lt;/STRONG&gt; by design, and so the group as a user can have an externlogin, too.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2016 03:58:38 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2016-06-17T03:58:38Z</dc:date>
    <item>
      <title>Remote Server External Login Permissions</title>
      <link>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaq-p/13828409</link>
      <description>&lt;P&gt;I have created a Remote Server connection called TeleMed from one Sybase ASA 12 database (db1) to another Sybase ASA 12 database (db2) to access a table from the second database in the first database, a Proxy Table&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Remote Server External Login Permissions"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189489i781A634E13478E78/image-size/large?v=v2&amp;amp;px=999" role="button" title="Remote Server External Login Permissions" alt="Remote Server External Login Permissions" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have created a user called Therapist in the db2, which has permissions to Select and Reference only the one table being the proxy table in db1.&lt;/P&gt;
&lt;P&gt;I have a User Group Therapist in db1, with many members. The Group is then used as an External Login to db2 using the Therapist user id and password from db2.&lt;/P&gt;
&lt;P&gt;When I log in to db1 as a user XYZ, whom belongs to the User Group Therapist in db1, I can't access the proxy table. &lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Remote Server External Login Permissions"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189490i5C5FD6E330ADB604/image-size/large?v=v2&amp;amp;px=999" role="button" title="Remote Server External Login Permissions" alt="Remote Server External Login Permissions" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I add the user XYZ as an External Login using the Therapist user id and password from db2, all works fine.&lt;/P&gt;
&lt;P&gt;Why doesn't the external login based on a group allow the user to connect/select the proxy table data, I would have thought that user would be granted access via the membership to the Therapist group.&lt;/P&gt;
&lt;P&gt;Is there something I am missing here?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaq-p/13828409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-16T03:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Server External Login Permissions</title>
      <link>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828410#M4859253</link>
      <description>&lt;P&gt;AFAIK, remote connections are &lt;EM&gt;never&lt;/EM&gt; based on group membership. Extern logins are created for single users, not for groups.&lt;/P&gt;
&lt;P&gt;So I guess you will have to&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;either add an externlogin for each user of the group or&lt;/LI&gt;
&lt;LI&gt;create users with identical credentials on both databases so they can connect from db1 to db2 with the same credentials, and no externlogin has to be created.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;(If my assumptions are correct, than I would share your impression that this seems rather surprising and complex ...)&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;Note, with v16 and above, remote connections by default are made based on the &lt;EM&gt;effective user&lt;/EM&gt;, not the &lt;EM&gt;logged-in user&lt;/EM&gt;, so you could turn the proxy access in, say, a procedure with SQL SECURITY DEFINER, and then only the owner of the procedure would need an externlogin - that and the different v12 behaviour are discussed &lt;A href="http://sqlanywhere-forum.sap.com/questions/642"&gt;here&lt;/A&gt; (note particularly Karim's comments) and &lt;A href="http://sqlanywhere-forum.sap.com/questions/15831"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 05:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828410#M4859253</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2016-06-16T05:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Server External Login Permissions</title>
      <link>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828411#M4859254</link>
      <description>&lt;P&gt;Hi Volker,&lt;/P&gt;
&lt;P&gt;Thanks for your answer, and yes I am a bit surprised that the Group can be added to the external login, but then members of the group don't "inherit" those permissions. &lt;/P&gt;
&lt;P&gt;Will just have to add each user to the external login.&lt;/P&gt;
&lt;P&gt;THanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 20:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828411#M4859254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-16T20:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Server External Login Permissions</title>
      <link>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828412#M4859255</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I am a bit surprised that the Group can be added to the external login&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That detail should &lt;EM&gt;not&lt;/EM&gt; come as a surprise because up to v12, &lt;STRONG&gt;a group is a user itself&lt;/STRONG&gt; by design, and so the group as a user can have an externlogin, too.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 03:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remote-server-external-login-permissions/qaa-p/13828412#M4859255</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2016-06-17T03:58:38Z</dc:date>
    </item>
  </channel>
</rss>

