<?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: PS Scripting of LDAP Connector Password in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336730#M169</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to do the same for the AD connector, but getting the same issue where it gets stuck at,&lt;/P&gt;&lt;P&gt;"...requested to change the service account password for identity connector..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried both the unattended script method, where you pass the username and passwords in one single command.&lt;/P&gt;&lt;P&gt;Also tried the partial command, tppconfiguration.exe -driverpwd . It prompts for the master admin credentials and also the name and new password for the AD connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both these methods, it gets stuck and doesn't give the final successful message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run these commands with Venafi services running and also with services being in stopped state. Makes no difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No errors in TPP configuration log or the Windows event logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checked the permissions for the Identity object on the Venafi Web console, the Local master admin account has full permissions to the AD connector object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TPPConfiguration.exe utility, from what i have read, does NOT validate the identity connector password, hence the password update should be a fairly quick process and should succeed even if the password provided is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe, This is a bug / problem in the TPPConfiguration.exe utility itself where it fails to update password when it comes to Identity connectors. Note that DBO/SQL password update works just fine.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 12:32:48 GMT</pubDate>
    <dc:creator>Jagadeesh_KS</dc:creator>
    <dc:date>2025-07-11T12:32:48Z</dc:date>
    <item>
      <title>PS Scripting of LDAP Connector Password</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336729#M168</link>
      <description>So we have been trying to get the service account password related to Venafi to be rotated. I was referred to the CyberArk plugin, but that only takes care of the DB it seems. I have been trying to create a PS Script to try to cover the LDAP connector piece that needs to update. I get the correct response for the beginning TppConfiguration: Venafi Account user &amp;lt;our master admin user&amp;gt; requested to change the service account password for identity connector 'ad+friendly'It never seems to complete though. Just curious if anyone had any thoughts about how I should write it. This is what essentially what I am using in the script.$argList = '-identitypwd:"' + $newPass + '" -prefix:"' + $prefix + '" -username:"' + $masterUser+ '" -password:"' + $masterPass + '"'$tppPath = "`"E:\Program Files\Venafi\Platform\TppConfiguration.exe`""$cmd = [Scriptblock]::Create("&amp;amp;$tppPath $argList")Invoke-Command -ScriptBlock $cmd.</description>
      <pubDate>Fri, 14 Jun 2024 20:51:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336729#M168</guid>
      <dc:creator>dghort</dc:creator>
      <dc:date>2024-06-14T20:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: PS Scripting of LDAP Connector Password</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336730#M169</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to do the same for the AD connector, but getting the same issue where it gets stuck at,&lt;/P&gt;&lt;P&gt;"...requested to change the service account password for identity connector..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried both the unattended script method, where you pass the username and passwords in one single command.&lt;/P&gt;&lt;P&gt;Also tried the partial command, tppconfiguration.exe -driverpwd . It prompts for the master admin credentials and also the name and new password for the AD connector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both these methods, it gets stuck and doesn't give the final successful message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run these commands with Venafi services running and also with services being in stopped state. Makes no difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No errors in TPP configuration log or the Windows event logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checked the permissions for the Identity object on the Venafi Web console, the Local master admin account has full permissions to the AD connector object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TPPConfiguration.exe utility, from what i have read, does NOT validate the identity connector password, hence the password update should be a fairly quick process and should succeed even if the password provided is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe, This is a bug / problem in the TPPConfiguration.exe utility itself where it fails to update password when it comes to Identity connectors. Note that DBO/SQL password update works just fine.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 12:32:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336730#M169</guid>
      <dc:creator>Jagadeesh_KS</dc:creator>
      <dc:date>2025-07-11T12:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: PS Scripting of LDAP Connector Password</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336731#M170</link>
      <description>&lt;P&gt;Bumping this to see if there has been any developments. Does the latest update fix this? Can it be done with VenafiPS?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 20:02:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336731#M170</guid>
      <dc:creator>dghort</dc:creator>
      <dc:date>2025-09-16T20:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: PS Scripting of LDAP Connector Password</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336732#M171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No significant developments from 23.3 to 24.3, except the names of command options have changed ;D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as the AD connector password change (tppconfiguration.exe -driverpwd) is concerned, I just noticed if you allow the command enough time to run, nearly 4 minutes, it completes the password change successfully.&lt;/P&gt;&lt;P&gt;It doesn't even check if the password is correct &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously, if you are running it as a batch file/script, you need to explicitly mention the command timeout parameters to 4-5 minutes since the default value is 120 seconds i think.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unlike the DBO/SQL identity password update, where you just edit a plaintext string with connection parameters, The AD/LDAP connector password update encrypts the key and then stores it somewhere in the DB and that's why it takes much time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: You don't need VenafiPS module, since password update is actually done by tppconfiguration.exe. But having the module makes it easier to write scripts which also perform health checks after the password rotation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;My query: How did you automate the DB credential rotation using CyberArk plugin?&lt;/P&gt;&lt;P&gt;i thought the plugin can only update credentials stored under the credentials tree in Venafi.. Happy to be proven wrong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 03:55:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/ps-scripting-of-ldap-connector-password/m-p/1336732#M171</guid>
      <dc:creator>Jagadeesh_KS</dc:creator>
      <dc:date>2025-09-18T03:55:53Z</dc:date>
    </item>
  </channel>
</rss>

