<?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>topic Re: non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462803#M11549</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149217"&gt;@SushilKumar&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;&lt;EM&gt;&amp;nbsp;if you Choose a non-sysadmin user then you must privileges require reading transaction logs,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I do not think that is correct information. Replicate may need to use fn_dump_dblog. That function can be used to make sql-server read any file on the server regardless of the protection. Thus sql server protects the system by requiring sys_admin role whether you have the privilege to read the transaction log itself or not.&lt;/P&gt;
&lt;P&gt;The error message if you try without is extremely clear about that:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lang-sql s-code-block"&gt;&lt;CODE class="hljs language-sql"&gt;&lt;SPAN class="hljs-keyword"&gt;User&lt;/SPAN&gt; does &lt;SPAN class="hljs-keyword"&gt;not&lt;/SPAN&gt; have permission &lt;SPAN class="hljs-keyword"&gt;to&lt;/SPAN&gt; query the virtual &lt;SPAN class="hljs-keyword"&gt;table&lt;/SPAN&gt;, DBLog. 
&lt;SPAN class="hljs-keyword"&gt;Only&lt;/SPAN&gt; members &lt;SPAN class="hljs-keyword"&gt;of&lt;/SPAN&gt; the sysadmin fixed server role &lt;SPAN class="hljs-keyword"&gt;and&lt;/SPAN&gt; the db_owner fixed database role have this permission&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See for example: &lt;A href="https://dba.stackexchange.com/questions/217584/grant-select-on-function-fn-dump-dblog-in-sql-server-without-granting-sysadmin" target="_blank" rel="noopener"&gt;https://dba.stackexchange.com/questions/217584/grant-select-on-function-fn-dump-dblog-in-sql-server-without-granting-sysadmin&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2024 06:11:47 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2024-06-16T06:11:47Z</dc:date>
    <item>
      <title>non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462365#M11520</link>
      <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/nonsys_admin.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/nonsys_admin.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Upon reviewing the steps outlined in the document, Steps #9 and #14 still require for the sysadmin server roles which is a concern for our infosec team. Is there a workaround that does not involve referencing or&amp;nbsp;granting sysadmin server roles while setting up non-sysadmin role for qlik to replicate data?&lt;/P&gt;
&lt;OL data-mc-conditions="QDI_Global.ScreenOnly"&gt;
&lt;LI&gt;
&lt;P data-mc-conditions="QDI_Global.ScreenOnly"&gt;Add the login to the sysadmin server role as follows:&lt;/P&gt;
&lt;PRE class="Code" space="preserve" data-mc-conditions="QDI_Global.ScreenOnly"&gt;ALTER SERVER ROLE [sysadmin] ADD MEMBER [attrep_rtm_dump_dblog_login];&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P data-mc-conditions="QDI_Global.ScreenOnly"&gt;Add the login to the sysadmin server role as follows:&lt;/P&gt;
&lt;PRE class="Code" space="preserve" data-mc-conditions="QDI_Global.ScreenOnly"&gt;ALTER SERVER ROLE [sysadmin] ADD MEMBER [attrep_rtm_position_1st_timestamp_login];&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 13 Jun 2024 22:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462365#M11520</guid>
      <dc:creator>Rak</dc:creator>
      <dc:date>2024-06-13T22:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462406#M11528</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/166470"&gt;@Rak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As i checked internally "In order to replicate the data, we have to run a few features that SQL Server requires the use of the sysadmin role."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462406#M11528</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-06-14T03:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462588#M11538</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/166470"&gt;@Rak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AS mentioned in the Qlik help document as SYSADMIN role have all the privileges to work with Qlik replicate, if you Choose a non-sysadmin user then you must privileges require reading transaction logs, backups logs and MSDB for backup information and Metadata collection.&lt;/P&gt;
&lt;P&gt;request you to look in section 16 for additional privileges required for non-SYSADMIN USER.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushil Kumar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 11:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462588#M11538</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-06-14T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462803#M11549</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149217"&gt;@SushilKumar&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;&lt;EM&gt;&amp;nbsp;if you Choose a non-sysadmin user then you must privileges require reading transaction logs,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I do not think that is correct information. Replicate may need to use fn_dump_dblog. That function can be used to make sql-server read any file on the server regardless of the protection. Thus sql server protects the system by requiring sys_admin role whether you have the privilege to read the transaction log itself or not.&lt;/P&gt;
&lt;P&gt;The error message if you try without is extremely clear about that:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lang-sql s-code-block"&gt;&lt;CODE class="hljs language-sql"&gt;&lt;SPAN class="hljs-keyword"&gt;User&lt;/SPAN&gt; does &lt;SPAN class="hljs-keyword"&gt;not&lt;/SPAN&gt; have permission &lt;SPAN class="hljs-keyword"&gt;to&lt;/SPAN&gt; query the virtual &lt;SPAN class="hljs-keyword"&gt;table&lt;/SPAN&gt;, DBLog. 
&lt;SPAN class="hljs-keyword"&gt;Only&lt;/SPAN&gt; members &lt;SPAN class="hljs-keyword"&gt;of&lt;/SPAN&gt; the sysadmin fixed server role &lt;SPAN class="hljs-keyword"&gt;and&lt;/SPAN&gt; the db_owner fixed database role have this permission&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See for example: &lt;A href="https://dba.stackexchange.com/questions/217584/grant-select-on-function-fn-dump-dblog-in-sql-server-without-granting-sysadmin" target="_blank" rel="noopener"&gt;https://dba.stackexchange.com/questions/217584/grant-select-on-function-fn-dump-dblog-in-sql-server-without-granting-sysadmin&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 06:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2462803#M11549</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-06-16T06:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: non-sysadmin role for sql server source endpoint - needs sysadmin roles for logins still?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2463538#M11599</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149217"&gt;@SushilKumar&lt;/a&gt;&amp;nbsp;can you point exactly regarding the section 16?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 15:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/non-sysadmin-role-for-sql-server-source-endpoint-needs-sysadmin/m-p/2463538#M11599</guid>
      <dc:creator>Rak</dc:creator>
      <dc:date>2024-06-18T15:26:27Z</dc:date>
    </item>
  </channel>
</rss>

