<?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: How do I migrate knowledge objects from internal/local user to SAML user? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297263#M7952</link>
    <description>&lt;P&gt;Hi @deepashri, this will only work if the SAML user has logged in already.&lt;/P&gt;</description>
    <pubDate>Tue, 01 May 2018 14:47:10 GMT</pubDate>
    <dc:creator>suarezry</dc:creator>
    <dc:date>2018-05-01T14:47:10Z</dc:date>
    <item>
      <title>How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297261#M7950</link>
      <description>&lt;P&gt;I am looking for a little more information on how to transfer ownership of existing items (dashboards, reports, alerts, etc) owned by internal users to the new saml users?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 14:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297261#M7950</guid>
      <dc:creator>jthairu_splunk</dc:creator>
      <dc:date>2018-03-29T14:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297262#M7951</link>
      <description>&lt;P&gt;Hey@jithairu,&lt;/P&gt;

&lt;P&gt;Refer this accepted answer:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/289251/how-to-change-the-ownership-of-dashboards-to-a-spe.html"&gt;https://answers.splunk.com/answers/289251/how-to-change-the-ownership-of-dashboards-to-a-spe.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/543138/change-ownership-of-alertsearchesdashboard-if-some.html"&gt;https://answers.splunk.com/answers/543138/change-ownership-of-alertsearchesdashboard-if-some.html&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 06:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297262#M7951</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-03-31T06:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297263#M7952</link>
      <description>&lt;P&gt;Hi @deepashri, this will only work if the SAML user has logged in already.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 14:47:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297263#M7952</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2018-05-01T14:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297264#M7953</link>
      <description>&lt;P&gt;Hi @hthairu, we need some more info:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Have the SAML users already logged in?  (ie. Are their accounts already in splunk)&lt;/LI&gt;
&lt;LI&gt;Do you run a search head cluster or are they standalone search heads.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 01 May 2018 14:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297264#M7953</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2018-05-01T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297265#M7954</link>
      <description>&lt;P&gt;In recent versions of Splunk you can use the re-asignment page.&lt;/P&gt;

&lt;P&gt;Settings -&amp;gt; All Configurations -&amp;gt; Reassign Knowledge Objects&lt;/P&gt;

&lt;P&gt;Use the menus and filter to narrow your search.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 14:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297265#M7954</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2018-05-01T14:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297266#M7955</link>
      <description>&lt;P&gt;Unfortunately, I just discovered that,&lt;BR /&gt;
1. There is a known bug which prevents you from seeing the macros&lt;BR /&gt;
2. This method only works for public knowledge objects, not private if the user no longer has access.&lt;BR /&gt;
In that case, as indicated in the doc, you will have to temporarily recreate the user.&lt;/P&gt;

&lt;P&gt;Also note that this behavior is observed in search head clusters.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 00:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297266#M7955</guid>
      <dc:creator>sansay</dc:creator>
      <dc:date>2018-05-09T00:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I migrate knowledge objects from internal/local user to SAML user?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297267#M7956</link>
      <description>&lt;P&gt;All true statements. For this situation, I cobbled together a bash script to hit up all meta files and use sed to replace olduser with newuser, then move the olduser directory from $splunk/etc/users to a safe place for backup. You'll then need to clear search history for the user cuz for some reasons the scheduler will see that and try to auth non-existent users. Finally, restart splunk.&lt;/P&gt;

&lt;P&gt;The search history clean:&lt;/P&gt;

&lt;P&gt;echo removing $ORIG_OWNER from SavedSearchHistory collection cuz bug SPL-134750&lt;BR /&gt;
   for sid in &lt;CODE&gt;splunk _internal call /servicesNS/nobody/system/storage/collections/data/SavedSearchHistory/ \&lt;BR /&gt;
       | grep $ORIG_OWNER | cut -d'"' -f 4 | xxd -plain | tr -d '\n' | sed 's/\(..\)/%\1/g' | sed -e 's/%0a/\n/g'&lt;/CODE&gt;&lt;BR /&gt;
     do&lt;BR /&gt;
        splunk _internal call /servicesNS/nobody/system/storage/collections/data/SavedSearchHistory/$sid -method DELETE&lt;BR /&gt;
     done&lt;/P&gt;

&lt;P&gt;EDIT: Well that was clobbered. hopefully decipherable &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-migrate-knowledge-objects-from-internal-local-user-to/m-p/297267#M7956</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2020-09-29T19:22:58Z</dc:date>
    </item>
  </channel>
</rss>

