<?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: Problem granting privileges using user-provided service in SAP TechEd Discussions</title>
    <link>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514296#M2354</link>
    <description>&lt;P&gt;Steffen, &lt;/P&gt;&lt;P&gt;One of the most likely causes is that you created a dedicated grant user and you have not changed the initial password. I usually use the following two lines to prepare a user to be used as a grantor user.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE USER XXX_GRANTOR_USER PASSWORD XXX123# NO FORCE_FIRST_PASSWORD_CHANGE
GRANT "CREATE VIRTUAL TABLE","CREATE VIRTUAL FUNCTION", "CREATE REMOTE SUBSCRIPTION", "PROCESS REMOTE SUBSCRIPTION EXCEPTION", "ALTER", "DROP" ON REMOTE SOURCE "&amp;lt;Your remote source name&amp;gt;" TO XXX_GRANTOR_USER WITH GRANT OPTION;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Dec 2021 15:09:56 GMT</pubDate>
    <dc:creator>martinstenzig</dc:creator>
    <dc:date>2021-12-13T15:09:56Z</dc:date>
    <item>
      <title>Problem granting privileges using user-provided service</title>
      <link>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514295#M2353</link>
      <description>&lt;P&gt;Tutorials: &lt;A href="https://developers.sap.com/tutorials/hana-cloud-collaborative-database-development-6.html" target="test_blank"&gt;https://developers.sap.com/tutorials/hana-cloud-collaborative-database-development-6.html&lt;/A&gt; &lt;BR /&gt;-------------------------- &lt;BR /&gt; &lt;BR /&gt;I am following the Teched tutorial "hana-cloud-collaborative-database-development" and am having issues in step 2 of module 6. After adding the `generic.hdbgrants` file I am getting an error during deployment:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;Processing grants files...
 Processing "src/generic.hdbgrants"...
  Using grantor service "UPS_GENERIC" of type "sql"
Deployment ended at 2021-12-13 14:30:06
Error: authentication failed
grantor service: "UPS_GENERIC", type: "sql", user: "UPS_GRANTOR"
file name: src/generic.hdbgrants&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;What could be the issue here? &lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514295#M2353</guid>
      <dc:creator>surreyhobbit</dc:creator>
      <dc:date>2021-12-13T14:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem granting privileges using user-provided service</title>
      <link>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514296#M2354</link>
      <description>&lt;P&gt;Steffen, &lt;/P&gt;&lt;P&gt;One of the most likely causes is that you created a dedicated grant user and you have not changed the initial password. I usually use the following two lines to prepare a user to be used as a grantor user.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE USER XXX_GRANTOR_USER PASSWORD XXX123# NO FORCE_FIRST_PASSWORD_CHANGE
GRANT "CREATE VIRTUAL TABLE","CREATE VIRTUAL FUNCTION", "CREATE REMOTE SUBSCRIPTION", "PROCESS REMOTE SUBSCRIPTION EXCEPTION", "ALTER", "DROP" ON REMOTE SOURCE "&amp;lt;Your remote source name&amp;gt;" TO XXX_GRANTOR_USER WITH GRANT OPTION;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Dec 2021 15:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514296#M2354</guid>
      <dc:creator>martinstenzig</dc:creator>
      <dc:date>2021-12-13T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem granting privileges using user-provided service</title>
      <link>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514297#M2355</link>
      <description>&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;thanks for your response. As per the tutorial I indeed created a dedicated grant user, but it also has the option of not having to change the password.&lt;/P&gt;&lt;P&gt;This is what i did:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;create user UPS_GRANTOR password "XXXX" NO FORCE_FIRST_PASSWORD_CHANGE;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;grant  "genericRoleForOO" to UPS_GRANTOR WITH ADMIN OPTION;
grant  "genericRoleForAP" to UPS_GRANTOR WITH ADMIN OPTION;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am wondering if maybe there is something missing in the tutorial. I traced my steps back and I did all previous steps as described.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 08:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-teched-discussions/problem-granting-privileges-using-user-provided-service/m-p/12514297#M2355</guid>
      <dc:creator>surreyhobbit</dc:creator>
      <dc:date>2021-12-14T08:59:13Z</dc:date>
    </item>
  </channel>
</rss>

