<?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: snap manager for sql - clone permissions issue in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41162#M6262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your Clone schedule ? ( How often you refresh your DB as clone to the other server ) ? &lt;/P&gt;&lt;P&gt;I will suggest to open a case for this. If this occurs outside the clone schedule. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 07:17:50 GMT</pubDate>
    <dc:creator>ogra</dc:creator>
    <dc:date>2012-09-12T07:17:50Z</dc:date>
    <item>
      <title>snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41148#M6259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i seem to have an issue with security accounts in sql when cloning databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using snap manager for sql to create a snap shot and then clone the database to a different server.&amp;nbsp; if a user is specified on the source server on the database (mapped user to that database) they can access the database without any issues (makes sense).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as the clone happens at night it attaches to a different server.&amp;nbsp; If i then look at the cloned database on the new server i can see the login account that is on the source server.&amp;nbsp; if i try to login using sql management server (sql auth) it fails.&amp;nbsp; If i re-map the account to the database then it works fine until the next night which means i have to reset the permissions every morning.&amp;nbsp; The only way around this is to assign to the account sys admin on the sql server whhich is not very secure at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions on a work around or if i am missing anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:19:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41148#M6259</guid>
      <dc:creator>FREDITSI</dc:creator>
      <dc:date>2025-06-05T06:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41153#M6260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not completely clear to me. &lt;/P&gt;&lt;P&gt;Are you saying once you try to login to the clone database you are not able to login with the source DB account ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 06:17:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41153#M6260</guid>
      <dc:creator>ogra</dc:creator>
      <dc:date>2012-09-12T06:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41158#M6261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.... the source server has an sql account associated with it.&amp;nbsp; when a clone happens it takes all the security permissions with it so i gather... if i then try to use the same account on the cloned database it fails.&amp;nbsp; i have to go into sql manager . select the account &amp;gt; map the account to the database with permissions &amp;gt; then works....... at night clone occurs and it fails in the morning even though the account is still mapped to the database that is cloned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 07:06:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41158#M6261</guid>
      <dc:creator>FREDITSI</dc:creator>
      <dc:date>2012-09-12T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41162#M6262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your Clone schedule ? ( How often you refresh your DB as clone to the other server ) ? &lt;/P&gt;&lt;P&gt;I will suggest to open a case for this. If this occurs outside the clone schedule. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 07:17:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41162#M6262</guid>
      <dc:creator>ogra</dc:creator>
      <dc:date>2012-09-12T07:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41167#M6263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it clones every 24 hours so every 24 hours i have to re-map the account.&amp;nbsp; is that how it should work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 13:07:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41167#M6263</guid>
      <dc:creator>FREDITSI</dc:creator>
      <dc:date>2012-09-12T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: snap manager for sql - clone permissions issue</title>
      <link>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41172#M6264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL Server always create SID in master database for every login.&amp;nbsp; If you use SQL authentication, SQL Server will create a unique SID for that login.&amp;nbsp; This SID is unique for every servers.&amp;nbsp; That is the reason why your SID for login in master database is not match with SID in user database after the restore or clone process.&amp;nbsp; The easiest way to fix this is to create a login and specify SID that is the same as your source database instance.&amp;nbsp; Here is how you would do it.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Find the SID of the login from the user database&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use UserDB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select SID from sysusers where name = 'login_name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copy the SID from the query result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. create login login_name password 'pwd' with SID = 'put SID that you copy here'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 16:41:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snap-manager-for-sql-clone-permissions-issue/m-p/41172#M6264</guid>
      <dc:creator>spat</dc:creator>
      <dc:date>2012-09-12T16:41:59Z</dc:date>
    </item>
  </channel>
</rss>

