<?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 CPM Plugin for Vcenter Server Appliance 6.7 in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320005#M19556</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have done this before please share with me. &lt;/P&gt;&lt;P&gt;I cant find it in Marketplace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viet&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 07:36:23 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2019-06-27T07:36:23Z</dc:date>
    <item>
      <title>CPM Plugin for Vcenter Server Appliance 6.7</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320005#M19556</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have done this before please share with me. &lt;/P&gt;&lt;P&gt;I cant find it in Marketplace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viet&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 07:36:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320005#M19556</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-27T07:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: CPM Plugin for Vcenter Server Appliance 6.7</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320006#M19557</link>
      <description>&lt;P&gt;Hi @Nhien Le​, you want to change the built-in Administrator of the VCenter application?&lt;/P&gt;&lt;P&gt;I have managed to do it in the past but I don't have the plugin itself anymore so I cannot share. However I still have my notes so here is how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For password change, based on a UnixSSH CPM plugin, you log onto the machine as root (set as logon account) and you use this command to update the Administrator password:&lt;/P&gt;&lt;P&gt;/usr/lib/vmware-vmdir/bin/vdcpass -h &amp;lt;address&amp;gt; -u &amp;lt;username&amp;gt; -w &amp;lt;pmpass&amp;gt; -W &amp;lt;pmnewpass&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same goes for reconciliation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verification is a bit tricky as I don't know any command to verify the password that you set with vdcpass. So for verification purposes, I spawned a script which connected to the REST API and logged on as Administrator:&lt;/P&gt;&lt;P&gt;https://address/rest/com/vmware/cis/session with HTTP authentication.&lt;/P&gt;&lt;P&gt;If you get a HTTP 200 return code, that's a success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may be a REST API call to change to password, I guess I did not find one and that's why I went with the command for change/reconcile.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 09:38:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320006#M19557</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-27T09:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: CPM Plugin for Vcenter Server Appliance 6.7</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320007#M19558</link>
      <description>&lt;P&gt;Thanks mate, i will try it.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 03:02:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320007#M19558</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-28T03:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: CPM Plugin for Vcenter Server Appliance 6.7</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320008#M19559</link>
      <description>&lt;P&gt;Hi @Sebastien Siegl​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have the sinthax of Spawn API check that you used to verify?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 20:47:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320008#M19559</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-05-17T20:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: CPM Plugin for Vcenter Server Appliance 6.7</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320009#M19560</link>
      <description>&lt;P&gt;Hello @Bruno Reynaud​, I have spawn a python script to to the verification, but you could use any other language although compiled is preferred&lt;/P&gt;&lt;CODE&gt;VerifStartScript=(spawn)"D:\\Python27\\python.exe" bin\\VMWare-vCenter.py "&amp;lt;action&amp;gt;" "&amp;lt;address&amp;gt;"&lt;/CODE&gt;&lt;P&gt;It then handles the interactive retrieval of Username and Password through stdio (exchanging data with TPC, this way you can use Prompt.ini to know when to send username and then password, and you avoid passing them as arguments).&lt;/P&gt;&lt;CODE&gt;print_ex("Username:")
username = raw_input()
print_ex("Password:")
password = raw_input()&lt;/CODE&gt;&lt;P&gt;And finally connects to the VMWare API :&lt;/P&gt;&lt;CODE&gt;headers = {
    'Content-Type': 'application/json',
    'Accept': 'application/json',
    'vmware-use-header-authn': 'jHU81YaepZp2GBEB031M',
    'vmware-api-session-id': 'null',
}
&amp;nbsp;
res = s.post('https://'+address+'/rest/com/vmware/cis/session', auth=(username,password), verify=False, headers=headers)
global sessionID 
sessionID = res.json()["value"]
&amp;nbsp;
if res.status_code == 200:
    LogoutApi()
    print_ex("Success : logon successfull")
else:
    print_ex("Failed : logon failed. Error")
    sys.exit()&lt;/CODE&gt;&lt;P&gt;In my Prompts.ini, I have these two to handle the return of my script and react accordingly, getting to END if it's a success or to a FAIL() state otherwise:&lt;/P&gt;&lt;CODE&gt;VerifSuccess=Success : logon successfull
VerifFailed=Failed : logon failed\. Error&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 07:16:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/cpm-plugin-for-vcenter-server-appliance-6-7/m-p/1320009#M19560</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-05-28T07:16:32Z</dc:date>
    </item>
  </channel>
</rss>

